Skip to content

Commit

Permalink
bump go to 1.22.5 (#62)
Browse files Browse the repository at this point in the history
* bump go to 1.22.5

* bump to 1.22 in CI

* Update .github/workflows/ccip-ocr3-build-lint-test.yml

---------

Co-authored-by: Will Winder <[email protected]>
  • Loading branch information
makramkd and winder authored Aug 19, 2024
1 parent c4f5dc7 commit 8747a57
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ccip-ocr3-build-lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
go-version: ['1.21']
go-version: ['1.21', '1.22']
defaults:
run:
working-directory: .
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codegen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
go-version: ['1.21']
go-version: ['1.22']
defaults:
run:
working-directory: .
Expand Down
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ lint: ensure_go_version
golangci-lint run -c .golangci.yml

ensure_go_version:
@go version | grep -q 'go1.21' || (echo "Please use go1.21" && exit 1)
@go version | grep -q 'go1.22' || (echo "Please use go1.22" && exit 1)

ensure_golangcilint_1_59:
@golangci-lint --version | grep -q '1.59' || (echo "Please use golangci-lint 1.59" && exit 1)

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/smartcontractkit/chainlink-ccip

go 1.21.7
go 1.22.5

require (
github.com/deckarep/golang-set/v2 v2.6.0
Expand Down

0 comments on commit 8747a57

Please sign in to comment.