Skip to content

Commit

Permalink
chore: Upgrade CI to Go 1.22 (#102)
Browse files Browse the repository at this point in the history
#### Description (required)

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.

#### Related issues & labels (optional)

- Fix #101 CI
- Suggested label:
  • Loading branch information
yuaanlin authored Aug 1, 2024
2 parents 119c03d + 196085e commit 6ad6ad5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ 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/v2@v2.32.0
run: go install github.com/vektra/mockery/v2@v2.43.2

- name: generate mocks
run: make mock
Expand Down
6 changes: 3 additions & 3 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/v2@v2.32.0
run: go install github.com/vektra/mockery/v2@v2.43.2

- name: generate mocks
run: make mock

Expand Down
6 changes: 3 additions & 3 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/v2@v2.32.0
run: go install github.com/vektra/mockery/v2@v2.43.2

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

0 comments on commit 6ad6ad5

Please sign in to comment.