Skip to content

Commit

Permalink
Bump Go to 1.22 following upstream Coraza min requirements (#293)
Browse files Browse the repository at this point in the history
  • Loading branch information
M4tteoP authored Sep 19, 2024
1 parent 513f49b commit 6fb6b5f
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
workflow_dispatch:

env:
GO_VERSION: '1.21'
GO_VERSION: '1.22'
TINYGO_VERSION: 0.33.0
# Run e2e tests against latest two releases and latest dev
ENVOY_IMAGES: >
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly-coraza-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
- cron: "0 4 * * *"

env:
GO_VERSION: '1.21'
GO_VERSION: '1.22'
TINYGO_VERSION: 0.33.0

jobs:
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/corazawaf/coraza-proxy-wasm

go 1.21
go 1.22

require (
github.com/corazawaf/coraza-wasilibs v0.2.0
Expand Down
2 changes: 1 addition & 1 deletion go.work
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
go 1.21
go 1.22

use (
.
Expand Down
2 changes: 1 addition & 1 deletion magefiles/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/corazawaf/coraza-proxy-wasm/magefiles

go 1.21
go 1.22

require (
fortio.org/fortio v1.66.0
Expand Down
4 changes: 2 additions & 2 deletions magefiles/magefile.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ import (
"github.com/tetratelabs/wabin/wasm"
)

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

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

0 comments on commit 6fb6b5f

Please sign in to comment.