Skip to content

Commit 49403bc

Browse files
fix(deps): update all non-major dependencies in .github/workflows/tinygo.yml
1 parent 9c89e90 commit 49403bc

File tree

10 files changed

+94
-40
lines changed

10 files changed

+94
-40
lines changed

.github/workflows/close-issues.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
issues: write
1111
pull-requests: write
1212
steps:
13-
- uses: actions/stale@3a9db7e6a41a89f618792c92c0e97cc736e1b13f # v10
13+
- uses: actions/stale@b5d41d4e1d5dceea10e7104786b73624c18a190f # v10
1414
with:
1515
days-before-issue-stale: 30
1616
days-before-issue-close: 14

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ jobs:
1010

1111
steps:
1212
- name: Checkout repository
13-
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6
13+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
1414

1515
- name: Initialize CodeQL
16-
uses: github/codeql-action/init@e296a935590eb16afc0c0108289f68c87e2a89a5 # v4
16+
uses: github/codeql-action/init@9e907b5e64f6b83e7804b09294d44122997950d6 # v4
1717
with:
1818
languages: go
1919

2020
- name: Autobuild
21-
uses: github/codeql-action/autobuild@e296a935590eb16afc0c0108289f68c87e2a89a5 # v4
21+
uses: github/codeql-action/autobuild@9e907b5e64f6b83e7804b09294d44122997950d6 # v4
2222

2323
- name: Perform CodeQL Analysis
24-
uses: github/codeql-action/analyze@e296a935590eb16afc0c0108289f68c87e2a89a5 # v4
24+
uses: github/codeql-action/analyze@9e907b5e64f6b83e7804b09294d44122997950d6 # v4

.github/workflows/fuzz.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ jobs:
1111
name: Fuzz tests
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6
15-
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6
14+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
15+
- uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6
1616
with:
1717
go-version: ">=1.24.0"
1818
- run: go run mage.go fuzz

.github/workflows/lint.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818
lint:
1919
runs-on: ubuntu-latest
2020
steps:
21-
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6
21+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
2222
- name: Install Go
23-
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6
23+
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6
2424
with:
25-
go-version: 1.25.x
25+
go-version: 1.26.x
2626
cache: true
2727
- run: go run mage.go lint

.github/workflows/regression.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
tags: ${{ steps.generate.outputs.tags }}
2121
steps:
2222
- name: Checkout code
23-
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6
23+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
2424

2525
- name: Generate tag combinations
2626
id: generate
@@ -41,9 +41,9 @@ jobs:
4141
GOLANG_BASE_VERSION: "1.24.x"
4242
steps:
4343
- name: Checkout code
44-
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6
44+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
4545
- name: Install Go
46-
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6
46+
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6
4747
with:
4848
go-version: ${{ matrix.go-version }}
4949
cache: true
@@ -52,28 +52,28 @@ jobs:
5252
export BUILD_TAGS=${{ matrix.build-flag }}
5353
go run mage.go coverage
5454
- name: "Codecov: General"
55-
uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5
55+
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5
5656
if: ${{ matrix.go-version == env.GOLANG_BASE_VERSION }}
5757
with:
5858
files: build/coverage.txt
5959
flags: default,${{ matrix.build-flag }}
6060
token: ${{ secrets.CODECOV_TOKEN }}
6161
- name: "Codecov: Examples"
62-
uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5
62+
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5
6363
if: ${{ matrix.go-version == env.GOLANG_BASE_VERSION }}
6464
with:
6565
files: build/coverage-examples.txt
6666
flags: examples+${{ matrix.build-flag }}
6767
token: ${{ secrets.CODECOV_TOKEN }}
6868
- name: "Codecov: FTW"
69-
uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5
69+
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5
7070
if: ${{ matrix.go-version == env.GOLANG_BASE_VERSION }}
7171
with:
7272
files: build/coverage-ftw.txt
7373
flags: ftw,${{ matrix.build-flag }}
7474
token: ${{ secrets.CODECOV_TOKEN }}
7575
- name: "Codecov: Tinygo"
76-
uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5
76+
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5
7777
# only if coverage-tinygo.txt exists
7878
if: ${{ matrix.go-version == env.GOLANG_BASE_VERSION && hashFiles('build/coverage-tinygo.txt') != '' }}
7979
with:

.github/workflows/tinygo.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ jobs:
2525
runs-on: ${{ matrix.os }}
2626
steps:
2727
- name: Checkout code
28-
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6
28+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
2929

3030
- name: Install Go
31-
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6
31+
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6
3232
with:
3333
go-version: ${{ matrix.go-version }}
3434
cache: true
@@ -42,7 +42,7 @@ jobs:
4242
tinygo-version: ${{ matrix.tinygo-version }}
4343

4444
- name: Cache TinyGo build
45-
uses: actions/cache@a7833574556fa59680c1b7cb190c1735db73ebf0 # v5
45+
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5
4646
with:
4747
path: |
4848
~/.cache/tinygo

go.mod

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/corazawaf/coraza/v3
22

3-
go 1.24.0
3+
go 1.26
44

55
// Testing dependencies:
66
// - go-mockdns
@@ -19,12 +19,12 @@ go 1.24.0
1919
require (
2020
github.com/anuraaga/go-modsecurity v0.0.0-20220824035035-b9a4099778df
2121
github.com/corazawaf/coraza-coreruleset v0.0.0-20240226094324-415b1017abdc
22-
github.com/corazawaf/libinjection-go v0.2.2
23-
github.com/foxcpp/go-mockdns v1.1.0
24-
github.com/jcchavezs/mergefs v0.1.0
25-
github.com/kaptinlin/jsonschema v0.4.6
22+
github.com/corazawaf/libinjection-go v0.2.3
23+
github.com/foxcpp/go-mockdns v1.2.0
24+
github.com/jcchavezs/mergefs v0.1.1
25+
github.com/kaptinlin/jsonschema v0.7.2
2626
github.com/magefile/mage v1.15.1-0.20250615140142-78acbaf2e3ae
27-
github.com/mccutchen/go-httpbin/v2 v2.18.3
27+
github.com/mccutchen/go-httpbin/v2 v2.20.0
2828
github.com/petar-dambovaliev/aho-corasick v0.0.0-20250424160509-463d218d4745
2929
github.com/tidwall/gjson v1.18.0
3030
github.com/valllabh/ocsf-schema-golang v1.0.3
@@ -35,11 +35,14 @@ require (
3535

3636
require (
3737
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
38+
github.com/go-json-experiment/json v0.0.0-20251027170946-4849db3c2f7e // indirect
3839
github.com/goccy/go-json v0.10.5 // indirect
39-
github.com/goccy/go-yaml v1.18.0 // indirect
40+
github.com/goccy/go-yaml v1.19.2 // indirect
4041
github.com/gotnospirit/makeplural v0.0.0-20180622080156-a5f48d94d976 // indirect
4142
github.com/gotnospirit/messageformat v0.0.0-20221001023931-dfe49f1eb092 // indirect
42-
github.com/kaptinlin/go-i18n v0.1.4 // indirect
43+
github.com/kaptinlin/go-i18n v0.2.9 // indirect
44+
github.com/kaptinlin/jsonpointer v0.4.16 // indirect
45+
github.com/kaptinlin/messageformat-go v0.4.18 // indirect
4346
github.com/miekg/dns v1.1.57 // indirect
4447
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
4548
github.com/stretchr/testify v1.11.1 // indirect

go.sum

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,22 @@ github.com/corazawaf/coraza-coreruleset v0.0.0-20240226094324-415b1017abdc h1:Ol
44
github.com/corazawaf/coraza-coreruleset v0.0.0-20240226094324-415b1017abdc/go.mod h1:7rsocqNDkTCira5T0M7buoKR2ehh7YZiPkzxRuAgvVU=
55
github.com/corazawaf/libinjection-go v0.2.2 h1:Chzodvb6+NXh6wew5/yhD0Ggioif9ACrQGR4qjTCs1g=
66
github.com/corazawaf/libinjection-go v0.2.2/go.mod h1:OP4TM7xdJ2skyXqNX1AN1wN5nNZEmJNuWbNPOItn7aw=
7+
github.com/corazawaf/libinjection-go v0.2.3 h1:rKiRM8sqbb2A+brb5N8wQ2gyg4oL0tsr3rcMJwVB5Yc=
8+
github.com/corazawaf/libinjection-go v0.2.3/go.mod h1:Ik/+w3UmTWH9yn366RgS9D95K3y7Atb5m/H/gXzzPCk=
79
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM=
810
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
911
github.com/foxcpp/go-mockdns v1.1.0 h1:jI0rD8M0wuYAxL7r/ynTrCQQq0BVqfB99Vgk7DlmewI=
1012
github.com/foxcpp/go-mockdns v1.1.0/go.mod h1:IhLeSFGed3mJIAXPH2aiRQB+kqz7oqu8ld2qVbOu7Wk=
13+
github.com/foxcpp/go-mockdns v1.2.0 h1:omK3OrHRD1IWJz1FuFBCFquhXslXoF17OvBS6JPzZF0=
14+
github.com/foxcpp/go-mockdns v1.2.0/go.mod h1:IhLeSFGed3mJIAXPH2aiRQB+kqz7oqu8ld2qVbOu7Wk=
15+
github.com/go-json-experiment/json v0.0.0-20251027170946-4849db3c2f7e h1:Lf/gRkoycfOBPa42vU2bbgPurFong6zXeFtPoxholzU=
16+
github.com/go-json-experiment/json v0.0.0-20251027170946-4849db3c2f7e/go.mod h1:uNVvRXArCGbZ508SxYYTC5v1JWoz2voff5pm25jU1Ok=
1117
github.com/goccy/go-json v0.10.5 h1:Fq85nIqj+gXn/S5ahsiTlK3TmC85qgirsdTP/+DeaC4=
1218
github.com/goccy/go-json v0.10.5/go.mod h1:oq7eo15ShAhp70Anwd5lgX2pLfOS3QCiwU/PULtXL6M=
1319
github.com/goccy/go-yaml v1.18.0 h1:8W7wMFS12Pcas7KU+VVkaiCng+kG8QiFeFwzFb+rwuw=
1420
github.com/goccy/go-yaml v1.18.0/go.mod h1:XBurs7gK8ATbW4ZPGKgcbrY1Br56PdM69F7LkFRi1kA=
21+
github.com/goccy/go-yaml v1.19.2 h1:PmFC1S6h8ljIz6gMRBopkjP1TVT7xuwrButHID66PoM=
22+
github.com/goccy/go-yaml v1.19.2/go.mod h1:XBurs7gK8ATbW4ZPGKgcbrY1Br56PdM69F7LkFRi1kA=
1523
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
1624
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
1725
github.com/gotnospirit/makeplural v0.0.0-20180622080156-a5f48d94d976 h1:b70jEaX2iaJSPZULSUxKtm73LBfsCrMsIlYCUgNGSIs=
@@ -20,14 +28,26 @@ github.com/gotnospirit/messageformat v0.0.0-20221001023931-dfe49f1eb092 h1:c7gcN
2028
github.com/gotnospirit/messageformat v0.0.0-20221001023931-dfe49f1eb092/go.mod h1:ZZAN4fkkful3l1lpJwF8JbW41ZiG9TwJ2ZlqzQovBNU=
2129
github.com/jcchavezs/mergefs v0.1.0 h1:7oteO7Ocl/fnfFMkoVLJxTveCjrsd//UB0j89xmnpec=
2230
github.com/jcchavezs/mergefs v0.1.0/go.mod h1:eRLTrsA+vFwQZ48hj8p8gki/5v9C2bFtHH5Mnn4bcGk=
31+
github.com/jcchavezs/mergefs v0.1.1 h1:D45R17m6dHnSVZefnhynoeZvcK2Uw0oTrRfoUOQ0S5Y=
32+
github.com/jcchavezs/mergefs v0.1.1/go.mod h1:eRLTrsA+vFwQZ48hj8p8gki/5v9C2bFtHH5Mnn4bcGk=
2333
github.com/kaptinlin/go-i18n v0.1.4 h1:wCiwAn1LOcvymvWIVAM4m5dUAMiHunTdEubLDk4hTGs=
2434
github.com/kaptinlin/go-i18n v0.1.4/go.mod h1:g1fn1GvTgT4CiLE8/fFE1hboHWJ6erivrDpiDtCcFKg=
35+
github.com/kaptinlin/go-i18n v0.2.9 h1:96TWNQI0j5nPhcmeFaCyX8SfyNhA0CTjeilLTy7ol9M=
36+
github.com/kaptinlin/go-i18n v0.2.9/go.mod h1:Sm0GTLS6hbFDrUQahycQfHF377WR9VF5eDgWrwljCAk=
37+
github.com/kaptinlin/jsonpointer v0.4.16 h1:Ux4w4FY+uLv+K+TxaCJtM/TpPv+1+eS6gH4Z9/uhOuA=
38+
github.com/kaptinlin/jsonpointer v0.4.16/go.mod h1:SsfsjqnHG5zuKo1DTBzk1VknaHlL4osHw+X9kZKukpU=
2539
github.com/kaptinlin/jsonschema v0.4.6 h1:vOSFg5tjmfkOdKg+D6Oo4fVOM/pActWu/ntkPsI1T64=
2640
github.com/kaptinlin/jsonschema v0.4.6/go.mod h1:1DUd7r5SdyB2ZnMtyB7uLv64dE3zTFTiYytDCd+AEL0=
41+
github.com/kaptinlin/jsonschema v0.7.2 h1:I4AiYZ/be3gtWi4Mb7vtY8W6zN6f4YvT2eHCUXXJfmQ=
42+
github.com/kaptinlin/jsonschema v0.7.2/go.mod h1:Y6SZ/x3m9LZzEQY/NxCjHCmBPprBGMLWZDX3mFN0lJQ=
43+
github.com/kaptinlin/messageformat-go v0.4.18 h1:RBlHVWgZyoxTcUgGWBsl2AcyScq/urqbLZvzgryTmSI=
44+
github.com/kaptinlin/messageformat-go v0.4.18/go.mod h1:ntI3154RnqJgr7GaC+vZBnIExl2V3sv9selvRNNEM24=
2745
github.com/magefile/mage v1.15.1-0.20250615140142-78acbaf2e3ae h1:yyMUG1VUd6IjV5jonMKpLXgwm9AzkfRsYisdCXc5OVI=
2846
github.com/magefile/mage v1.15.1-0.20250615140142-78acbaf2e3ae/go.mod h1:z5UZb/iS3GoOSn0JgWuiw7dxlurVYTu+/jHXqQg881A=
2947
github.com/mccutchen/go-httpbin/v2 v2.18.3 h1:DyckIScjHLJtmlSju+rgjqqI1nL8AdMZHsLSljlbnMU=
3048
github.com/mccutchen/go-httpbin/v2 v2.18.3/go.mod h1:GBy5I7XwZ4ZLhT3hcq39I4ikwN9x4QUt6EAxNiR8Jus=
49+
github.com/mccutchen/go-httpbin/v2 v2.20.0 h1:iMUzhdbAcjo9hepfG5W3hz1yWAyxiYlJMzKQtwyGDms=
50+
github.com/mccutchen/go-httpbin/v2 v2.20.0/go.mod h1:GBy5I7XwZ4ZLhT3hcq39I4ikwN9x4QUt6EAxNiR8Jus=
3151
github.com/miekg/dns v1.1.57 h1:Jzi7ApEIzwEPLHWRcafCN9LZSBbqQpxjt/wpgvg7wcM=
3252
github.com/miekg/dns v1.1.57/go.mod h1:uqRjCRUuEAA6qsOiJvDd+CFo/vW+y5WR6SNmHE55hZk=
3353
github.com/pelletier/go-toml/v2 v2.2.4 h1:mye9XuhQ6gvn5h28+VilKrrPoQVanw5PMw/TB0t5Ec4=

testing/coreruleset/go.mod

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
module github.com/corazawaf/coraza/v3/testing/coreruleset
22

3-
go 1.24.0
3+
go 1.26
44

55
require (
6-
github.com/bmatcuk/doublestar/v4 v4.9.1
7-
github.com/corazawaf/coraza-coreruleset/v4 v4.20.0
6+
github.com/bmatcuk/doublestar/v4 v4.10.0
7+
github.com/corazawaf/coraza-coreruleset/v4 v4.23.0
88
github.com/corazawaf/coraza/v3 v3.3.3
99
github.com/coreruleset/albedo v0.3.0
1010
github.com/coreruleset/go-ftw v1.3.0
@@ -15,21 +15,24 @@ require (
1515
github.com/Masterminds/goutils v1.1.1 // indirect
1616
github.com/Masterminds/semver v1.5.0 // indirect
1717
github.com/Masterminds/sprig v2.22.0+incompatible // indirect
18-
github.com/corazawaf/libinjection-go v0.2.2 // indirect
18+
github.com/corazawaf/libinjection-go v0.2.3 // indirect
1919
github.com/coreruleset/ftw-tests-schema/v2 v2.2.0 // indirect
2020
github.com/fsnotify/fsnotify v1.7.0 // indirect
21+
github.com/go-json-experiment/json v0.0.0-20251027170946-4849db3c2f7e // indirect
2122
github.com/go-viper/mapstructure/v2 v2.4.0 // indirect
2223
github.com/goccy/go-json v0.10.5 // indirect
23-
github.com/goccy/go-yaml v1.18.0 // indirect
24+
github.com/goccy/go-yaml v1.19.2 // indirect
2425
github.com/google/go-cmp v0.6.0 // indirect
2526
github.com/google/uuid v1.6.0 // indirect
2627
github.com/gotnospirit/makeplural v0.0.0-20180622080156-a5f48d94d976 // indirect
2728
github.com/gotnospirit/messageformat v0.0.0-20221001023931-dfe49f1eb092 // indirect
2829
github.com/huandu/xstrings v1.4.0 // indirect
2930
github.com/icza/backscanner v0.0.0-20241124160932-dff01ac50250 // indirect
3031
github.com/imdario/mergo v0.3.16 // indirect
31-
github.com/kaptinlin/go-i18n v0.1.4 // indirect
32-
github.com/kaptinlin/jsonschema v0.4.6 // indirect
32+
github.com/kaptinlin/go-i18n v0.2.9 // indirect
33+
github.com/kaptinlin/jsonpointer v0.4.16 // indirect
34+
github.com/kaptinlin/jsonschema v0.7.2 // indirect
35+
github.com/kaptinlin/messageformat-go v0.4.18 // indirect
3336
github.com/knadh/koanf/maps v0.1.1 // indirect
3437
github.com/knadh/koanf/parsers/yaml v0.1.0 // indirect
3538
github.com/knadh/koanf/providers/env v1.0.0 // indirect
@@ -49,11 +52,11 @@ require (
4952
github.com/tidwall/pretty v1.2.1 // indirect
5053
github.com/valllabh/ocsf-schema-golang v1.0.3 // indirect
5154
github.com/yargevad/filepathx v1.0.0 // indirect
52-
golang.org/x/crypto v0.45.0 // indirect
53-
golang.org/x/net v0.47.0 // indirect
54-
golang.org/x/sync v0.18.0 // indirect
55-
golang.org/x/sys v0.38.0 // indirect
56-
golang.org/x/text v0.31.0 // indirect
55+
golang.org/x/crypto v0.48.0 // indirect
56+
golang.org/x/net v0.50.0 // indirect
57+
golang.org/x/sync v0.19.0 // indirect
58+
golang.org/x/sys v0.41.0 // indirect
59+
golang.org/x/text v0.34.0 // indirect
5760
golang.org/x/time v0.9.0 // indirect
5861
google.golang.org/protobuf v1.35.1 // indirect
5962
gopkg.in/yaml.v3 v3.0.1 // indirect

0 commit comments

Comments
 (0)