Skip to content

Commit

Permalink
update actions/checkout to v3
Browse files Browse the repository at this point in the history
Actions runs started showing the error:

> build for x86_64 with llvm-16
> Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Please update the following actions to use Node.js 16: actions/checkout, actions/checkout

This change sets actions/checkout to v3, which is an upgrade from v2 in
out first use case, and a pinning to v3 vs main for the second use case.

Signed-off-by: Manu Bretelle <[email protected]>
  • Loading branch information
chantra authored and danielocfb committed Oct 11, 2022
1 parent 4380fd1 commit 646baa5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
REPO_ROOT: ${{ github.workspace }}
REPO_PATH: ""
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- if: ${{ github.repository == 'kernel-patches/vmtest' }}
name: Download bpf-next tree
uses: libbpf/ci/get-linux-source@master
Expand Down Expand Up @@ -145,7 +145,7 @@ jobs:
REPO_ROOT: ${{ github.workspace }}
REPO_PATH: ""
steps:
- uses: actions/checkout@main
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
with:
name: vmlinux-${{ matrix.arch }}-${{ matrix.toolchain }}
Expand Down

0 comments on commit 646baa5

Please sign in to comment.