Skip to content

Commit

Permalink
ci/cd: update go versions
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilsk committed Feb 3, 2023
1 parent 90c2e74 commit 55a366a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v4.1.1
with: { fetch-depth: 0 }
- uses: actions/setup-go@v5.0.0
with: { go-version: '1.21', cache: true }
with: { go-version: 1.22.x, cache: true }

- run: make env deps-fetch test
- uses: goreleaser/goreleaser-action@v5.0.0
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ jobs:
matrix:
go:
- 1.x
- 1.20.x
- 1.21.x
- 1.22.x

steps:
- name: Checkout the repository
Expand All @@ -63,7 +63,7 @@ jobs:
run: make env deps-fetch test-with-coverage
- name: Store code coverage report
uses: actions/upload-artifact@v4.3.1
if: matrix.go == '1.21.x'
if: matrix.go == 1.21.x
with: { name: code-coverage-report, path: c.out }

- run: make install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
with: { fetch-depth: 0 }
- name: Set up Go environment
uses: actions/setup-go@v5.0.0
with: { go-version: 1.21.x, cache-dependency-path: tools/go.sum }
with: { go-version: 1.22.x, cache-dependency-path: tools/go.sum }

- name: Install and check tools
run: make tools && [ $(ls bin/linux/*/* | wc -l) = $(grep go:gen tools/tools.go | wc -l) ]
Expand Down

0 comments on commit 55a366a

Please sign in to comment.