Skip to content

Commit

Permalink
Merge pull request #20 from austinvazquez/upgrade-ci
Browse files Browse the repository at this point in the history
Update GitHub Actions packages and runners
  • Loading branch information
dmcgowan authored Oct 7, 2024
2 parents 02b65bc + 303a6ea commit 3dabb2b
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
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.21.0"
GO_VERSION: "1.22.8"

permissions: # added using https://github.com/step-security/secure-workflows
contents: read
Expand All @@ -29,18 +29,18 @@ jobs:

strategy:
matrix:
os: [ubuntu-22.04, macos-12, windows-2022]
os: [ubuntu-22.04, macos-13, windows-2022]

steps:
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
cache: false # see actions/setup-go#368

- uses: actions/checkout@v3
- uses: golangci/golangci-lint-action@v3
- uses: actions/checkout@v4
- uses: golangci/golangci-lint-action@v6
with:
version: v1.52.2
version: v1.61.0
skip-cache: true
args: --timeout=5m

Expand All @@ -54,12 +54,12 @@ jobs:
timeout-minutes: 5

steps:
- uses: actions/setup-go@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
cache: false # see actions/setup-go#368

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
path: src/github.com/containerd/errdefs
fetch-depth: 25
Expand All @@ -76,14 +76,14 @@ jobs:

strategy:
matrix:
os: [ubuntu-22.04, macos-12, windows-2022]
os: [ubuntu-22.04, macos-13, windows-2022]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
path: src/github.com/containerd/errdefs

- uses: actions/setup-go@v2
- uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}

Expand Down

0 comments on commit 3dabb2b

Please sign in to comment.