Skip to content

Commit

Permalink
chore: update Go version to 1.20 and above in workflows
Browse files Browse the repository at this point in the history
- Update the Go versions in the workflow from 1.18 and 1.19 to only include 1.20, 1.21, 1.22, and 1.23
- Change the Go version in the go.mod file from 1.18 to 1.20

Signed-off-by: Bo-Yi Wu <[email protected]>
  • Loading branch information
appleboy committed Aug 28, 2024
1 parent 03a81e8 commit 7ba65f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
go: [1.18, 1.19, "1.20", 1.21, 1.22]
go: ["1.20", 1.21, 1.22, 1.23]
include:
- os: ubuntu-latest
go-build: ~/.cache/go-build
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/gin-contrib/cors

go 1.18
go 1.20

require (
github.com/gin-gonic/gin v1.10.0
Expand Down

0 comments on commit 7ba65f5

Please sign in to comment.