diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5a997ae..5844958 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,11 +6,6 @@ on: pull_request: branches: [ main ] -env: - # Go version we currently use to build containerd across all CI. - # Note: don't forget to update `Binaries` step, as it contains the matrix of all supported Go versions. - GO_VERSION: "1.22.8" - permissions: # added using https://github.com/step-security/secure-workflows contents: read @@ -34,8 +29,7 @@ jobs: steps: - uses: actions/setup-go@v6 with: - go-version: ${{ env.GO_VERSION }} - cache: false # see actions/setup-go#368 + go-version: 'stable' - uses: actions/checkout@v6 - uses: golangci/golangci-lint-action@v9 @@ -56,8 +50,7 @@ jobs: steps: - uses: actions/setup-go@v6 with: - go-version: ${{ env.GO_VERSION }} - cache: false # see actions/setup-go#368 + go-version: 'stable' - uses: actions/checkout@v6 with: @@ -85,7 +78,7 @@ jobs: - uses: actions/setup-go@v6 with: - go-version: ${{ env.GO_VERSION }} + go-version: 'stable' - name: Set env shell: bash