Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 3 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand All @@ -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:
Expand Down Expand Up @@ -85,7 +78,7 @@ jobs:

- uses: actions/setup-go@v6
with:
go-version: ${{ env.GO_VERSION }}
go-version: 'stable'

- name: Set env
shell: bash
Expand Down
Loading