Skip to content

Commit

Permalink
chore: Upgrade CI to Go 1.22
Browse files Browse the repository at this point in the history
We have upgraded to Go toolchain to 1.21 recently. Besides,
the dependency of #101 requires Go 1.22. Therefore, I
bump to Go toolchain from 1.20 to 1.22.
  • Loading branch information
pan93412 committed Aug 1, 2024
1 parent 119c03d commit eda0e74
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

- uses: actions/setup-go@v4
with:
go-version: "1.20"
go-version: "1.22"

- name: install mockery
run: go install github.com/vektra/mockery/[email protected]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ jobs:

- uses: actions/setup-go@v4
with:
go-version: "1.20"
go-version: "1.22"
cache: false

- name: install mockery
run: go install github.com/vektra/mockery/[email protected]

- name: generate mocks
run: make mock

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ jobs:

- uses: actions/setup-go@v4
with:
go-version: "1.20"
go-version: "1.22"
cache: true

- name: install mockery
run: go install github.com/vektra/mockery/[email protected]

- uses: goreleaser/goreleaser-action@v4
with:
distribution: goreleaser
Expand Down

0 comments on commit eda0e74

Please sign in to comment.