diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 2b6e3d0..0d224da 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -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 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4eeeaf8..172cb6b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -48,8 +48,8 @@ jobs: matrix: go: - 1.x - - 1.20.x - 1.21.x + - 1.22.x steps: - name: Checkout the repository @@ -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 diff --git a/.github/workflows/tools.yml b/.github/workflows/tools.yml index a5979c3..46bf379 100644 --- a/.github/workflows/tools.yml +++ b/.github/workflows/tools.yml @@ -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) ]