Skip to content

Commit 5d108f6

Browse files
authored
Update yara-x to 0.14.0 (#843)
* Update yara-x to 0.14.0 Signed-off-by: egibs <20933572+egibs@users.noreply.github.com> * Remove outdated -compat install Signed-off-by: egibs <20933572+egibs@users.noreply.github.com> --------- Signed-off-by: egibs <20933572+egibs@users.noreply.github.com>
1 parent 648b547 commit 5d108f6

File tree

6 files changed

+11
-10
lines changed

6 files changed

+11
-10
lines changed

.github/workflows/go-tests.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- name: Install dependencies
3737
run: |
3838
apk update
39-
apk add curl findutils git go nodejs upx xz yara-x-compat
39+
apk add curl findutils git go nodejs upx xz yara-x
4040
4141
- name: Checkout code
4242
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -69,7 +69,7 @@ jobs:
6969
- name: Install dependencies
7070
run: |
7171
apk update
72-
apk add curl findutils git go nodejs upx xz yara-x-compat
72+
apk add curl findutils git go nodejs upx xz yara-x
7373
7474
- name: Checkout code
7575
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

.github/workflows/style.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ jobs:
133133
- name: Install dependencies
134134
run: |
135135
apk update
136-
apk add curl findutils git go nodejs yara-x-compat
136+
apk add curl findutils git go nodejs yara-x
137137
138138
- name: Checkout code
139139
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

.github/workflows/third-party.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- name: Install dependencies
3535
run: |
3636
apk update
37-
apk add bash curl findutils gh git go nodejs perl upx xz yara-x-compat
37+
apk add bash curl findutils gh git go nodejs perl upx xz yara-x
3838
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
3939
- name: Trust repository
4040
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@ $(GOLANGCI_LINT_BIN):
5050
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(LINT_ROOT)/out/linters $(GOLANGCI_LINT_VERSION)
5151
mv $(LINT_ROOT)/out/linters/golangci-lint $@
5252

53-
YARA_X_VERSION ?= v0.13.0
53+
YARA_X_VERSION ?= v0.14.0
5454
YARA_X_SHA :=
5555
ifeq ($(LINT_OS),Darwin)
56-
YARA_X_SHA=d47f458d0bdd1cb5a3b25b8a1efa2826c263e2855f0615f5f36377af6799b217
56+
YARA_X_SHA=3d35ac9138d916834de7d5f9fd2d72bfa4f1c5bb3467deeb08728e80d48dab0e
5757
else
58-
YARA_X_SHA=783a62c3493c42e380835bf5c2d12ba8e017d7ebe227e7d004bd5845d4cc38bc
58+
YARA_X_SHA=9e3bae16de66cbc6f79e83c3e743865867571601010f1d7c68510173c10a4889
5959
endif
6060
YARA_X_BIN := $(LINT_ROOT)/out/linters/yr-$(YARA_X_VERSION)-$(LINT_ARCH)
6161
$(YARA_X_BIN):

go.mod

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
module github.com/chainguard-dev/malcontent
22

33
go 1.23.4
4+
45
toolchain go1.24.1
56

67
require (
7-
github.com/VirusTotal/yara-x/go v0.13.0
8+
github.com/VirusTotal/yara-x/go v0.14.0
89
github.com/agext/levenshtein v1.2.3
910
github.com/cavaliergopher/cpio v1.0.1
1011
github.com/cavaliergopher/rpm v1.2.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
github.com/VirusTotal/yara-x/go v0.13.0 h1:p79uV7taA4TGtALfOVqPYeCVme0m4wY+ZmLxZiXvUHk=
2-
github.com/VirusTotal/yara-x/go v0.13.0/go.mod h1:lgXP/nkYX349MVowrtTtU5hzMdCOWQLv3+wKll9+0F8=
1+
github.com/VirusTotal/yara-x/go v0.14.0 h1:tda9+yrRMlTBrvs615Gc8uWZmjUSDHgNhvYd+vA0juw=
2+
github.com/VirusTotal/yara-x/go v0.14.0/go.mod h1:lgXP/nkYX349MVowrtTtU5hzMdCOWQLv3+wKll9+0F8=
33
github.com/agext/levenshtein v1.2.3 h1:YB2fHEn0UJagG8T1rrWknE3ZQzWM06O8AMAatNn7lmo=
44
github.com/agext/levenshtein v1.2.3/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558=
55
github.com/aymanbagabas/go-osc52/v2 v2.0.1 h1:HwpRHbFMcZLEVr42D4p7XBqjyuxQH5SMiErDT4WkJ2k=

0 commit comments

Comments
 (0)