Skip to content

Comments

chore: bump yara-x to 1.13.0; match upstream config; run Make targets consistently#1389

Draft
egibs wants to merge 1 commit intochainguard-dev:mainfrom
egibs:bump-yara-x-1.13.0
Draft

chore: bump yara-x to 1.13.0; match upstream config; run Make targets consistently#1389
egibs wants to merge 1 commit intochainguard-dev:mainfrom
egibs:bump-yara-x-1.13.0

Conversation

@egibs
Copy link
Member

@egibs egibs commented Feb 21, 2026

This PR bumps yara-x to v1.13.0, the go.mod version to 1.26.0 (intentional; this release has a ~30% CGO runtime improvement and Go1.26 is now GA), and finally configures all of the Make targets to correctly use flags required to pull in the yara-x C API correctly.

Previously, we were only doing this for make out/mal and running make test or make golangci-lint-fix would require that they be manually specified to function correctly.

This PR also moves make install-yara-x to use the static pattern used by both upstream and Wolfi and makes overall maintenance of the release version easier over time.

… consistently

Signed-off-by: egibs <20933572+egibs@users.noreply.github.com>
@egibs egibs force-pushed the bump-yara-x-1.13.0 branch from b5f9432 to 03808e7 Compare February 21, 2026 23:39
@egibs egibs requested a review from stevebeattie February 21, 2026 23:43
- name: Unit tests
run: |
make test
go test -race ./pkg/...
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably a dumb question, but what's the reasoning behind dropping the use of the make target here and for the integration tests?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants