diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index dbaa46abf7e..a3cf78bd302 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,7 +21,7 @@ jobs: strategy: fail-fast: false matrix: - go-version: [1.17.x, 1.20.x, 1.21.x] + go-version: [1.17.x, 1.21.x, 1.22.x] rootless: ["rootless", ""] race: ["-race", ""] criu: [""] @@ -63,6 +63,7 @@ jobs: uses: actions/setup-go@v5 with: go-version: ${{ matrix.go-version }} + check-latest: true - name: build run: sudo -E PATH="$PATH" make EXTRA_FLAGS="${{ matrix.race }}" all @@ -118,7 +119,8 @@ jobs: - name: install go uses: actions/setup-go@v5 with: - go-version: 1.21 + go-version: 1.x # Latest stable + check-latest: true - name: unit test run: sudo -E PATH="$PATH" -- make GOARCH=386 localunittest diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index ee41c6fd09f..f90a3613283 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -8,7 +8,7 @@ on: - release-* pull_request: env: - GO_VERSION: 1.20.x + GO_VERSION: 1.22.x jobs: keyring: @@ -104,6 +104,7 @@ jobs: uses: actions/setup-go@v5 with: go-version: "${{ env.GO_VERSION }}" + check-latest: true - name: verify deps run: make verify-dependencies