diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 195bdd1..568599b 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -16,7 +16,7 @@ jobs: - name: Install Go uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe with: - go-version: '1.19' + go-version: '1.21' - name: Check out code uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 65050af..c8f28e2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,7 +12,7 @@ jobs: build-and-test: strategy: matrix: - go-version: ['1.18', '1.19', '1.20'] + go-version: ['1.19', '1.20', '1.21'] os: [ubuntu-20.04, ubuntu-22.04, macos-11, macos-12, macos-13] runs-on: ${{ matrix.os }} @@ -26,11 +26,11 @@ jobs: uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - name: Check formatting - if: ${{ matrix.go-version == '1.20' && matrix.os == 'ubuntu-22.04' }} + if: ${{ matrix.go-version == '1.21' && matrix.os == 'ubuntu-22.04' }} run: diff -u <(echo -n) <(gofmt -d .) - name: Check Go modules - if: ${{ matrix.go-version == '1.20' && matrix.os == 'ubuntu-22.04' }} + if: ${{ matrix.go-version == '1.21' && matrix.os == 'ubuntu-22.04' }} run: | go mod tidy git diff --exit-code