Skip to content

Commit 6fb6b5f

Browse files
authored
Bump Go to 1.22 following upstream Coraza min requirements (#293)
1 parent 513f49b commit 6fb6b5f

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

.github/workflows/ci.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
workflow_dispatch:
1313

1414
env:
15-
GO_VERSION: '1.21'
15+
GO_VERSION: '1.22'
1616
TINYGO_VERSION: 0.33.0
1717
# Run e2e tests against latest two releases and latest dev
1818
ENVOY_IMAGES: >

.github/workflows/nightly-coraza-check.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
- cron: "0 4 * * *"
99

1010
env:
11-
GO_VERSION: '1.21'
11+
GO_VERSION: '1.22'
1212
TINYGO_VERSION: 0.33.0
1313

1414
jobs:

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/corazawaf/coraza-proxy-wasm
22

3-
go 1.21
3+
go 1.22
44

55
require (
66
github.com/corazawaf/coraza-wasilibs v0.2.0

go.work

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
go 1.21
1+
go 1.22
22

33
use (
44
.

magefiles/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/corazawaf/coraza-proxy-wasm/magefiles
22

3-
go 1.21
3+
go 1.22
44

55
require (
66
fortio.org/fortio v1.66.0

magefiles/magefile.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ import (
1919
"github.com/tetratelabs/wabin/wasm"
2020
)
2121

22-
var minGoVersion = "1.21"
22+
var minGoVersion = "1.22"
2323
var minTinygoVersion = "0.33.0"
2424
var addLicenseVersion = "04bfe4ee9ca5764577b029acc6a1957fd1997153" // https://github.com/google/addlicense
25-
var golangCILintVer = "v1.59.1" // https://github.com/golangci/golangci-lint/releases
25+
var golangCILintVer = "v1.61.0" // https://github.com/golangci/golangci-lint/releases
2626
var gosImportsVer = "v0.3.8" // https://github.com/rinchsan/gosimports/releases/tag/v0.3.1
2727

2828
var errCommitFormatting = errors.New("files not formatted, please commit formatting changes")

0 commit comments

Comments
 (0)