Skip to content

Commit

Permalink
ci.yml: use actions/checkout@v4
Browse files Browse the repository at this point in the history
This addresses the following warning from GitHub Actions:

    Node.js 16 actions are deprecated. Please update the following
    actions to use Node.js 20: actions/checkout@v3. For more information
    see:
    https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

A near-identical warning forced everyone to upgrade to v3 last year, so
this is some pointless churn, but let's just get it over with again...
  • Loading branch information
ebiggers committed Feb 7, 2024
1 parent 8c12cd6 commit d00b463
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
name: Build (Go ${{ matrix.go }})
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
Expand All @@ -46,7 +46,7 @@ jobs:
name: Build (32-bit)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-go@v2
with:
go-version: '1.20'
Expand All @@ -62,7 +62,7 @@ jobs:
name: Run integration tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-go@v2
with:
go-version: '1.20'
Expand All @@ -88,7 +88,7 @@ jobs:
# arch: [armv7, aarch64, ppc64le]
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - uses: actions/checkout@v4
# - uses: uraimo/run-on-arch-action@v2.0.5
# with:
# arch: ${{ matrix.arch }}
Expand All @@ -111,7 +111,7 @@ jobs:
# The cli tests require kernel 5.4 or later, and thus Ubuntu 20.04 or later.
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-go@v2
with:
go-version: '1.20'
Expand All @@ -126,7 +126,7 @@ jobs:
name: Generate, format, and lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-go@v2
with:
go-version: '1.20'
Expand Down

0 comments on commit d00b463

Please sign in to comment.