chore: sync upstream changes (c75c32e5)#56
Merged
Conversation
The `yr fmt` command can now accept directory paths in addition to individual file paths. When a directory is provided, it will format all YARA files (`.yar`, `.yara`) found within it. By default, only files in the top-level directory are processed. A new `-r` or `--recursive` option has been added to enable scanning for YARA files in subdirectories, allowing users to specify a maximum recursion depth. This improves usability by simplifying formatting across multi-file projects. Closes #271
This option allows users to dynamically limit the CPU utilization of the scan process. It helps prevent CPU saturation when running background scan tasks on production servers or multi-user systems. The limit is achieved by measuring the active time spent scanning each file and introducing a calculated sleep delay before processing the next file. Closes #115.
Go recently updated go fix: https://go.dev/blog/gofix Ran go fix ./... on go directory Ran tests with go 1.18 and 1.26
Python 3.9 went end-of-life on Halloween in 2025 and all Go versions prior to 1.25 went end-of-life on or before February 11th, 2026. I didn't feel comfortable deprecating support for older versions in a PR focused on CI tests.
Release archives for non-Windows targets are gzip-compressed TAR files (`tar czf`) but were being named with a `.gz` extension, causing interoperability issues with tooling that infers format from the extension. Windows `.zip` builds are unaffected. Downstream consumers fetching assets by exact filename will need to update from `.gz` -> `.tar.gz`. Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Updated GitHub Action versions: - actions/cache@27d5ce7 `v5.0.5` - actions/checkout@de0fac2 `v6.0.2` - actions/configure-pages@45bfe01 `v6.0.0` - actions/deploy-pages@cd2ce8f `v5.0.0` - actions/download-artifact@3e5f45b `v8.0.1` - actions/setup-go@4a36011 `v6.4.0` - actions/setup-node@48b55a0 `v6.4.0` - actions/setup-python@a309ff8 `v6.2.0` - actions/upload-artifact@043fb46 `v7.0.1` - actions/upload-pages-artifact@fc324d3 `v5.0.0` - amannn/action-semantic-pull-request@48f2562 `v6.1.1` - browser-actions/setup-chrome@2e1d749 `v2.1.2` - codecov/codecov-action@e79a696 `v6.0.1` - pypa/gh-action-pypi-publish@cef2210 `v1.14.0` - softprops/action-gh-release@b430933 `v3.0.0` softprops/action-gh-release@b430933 v3.0.0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #55
Commits included