Skip to content

Commit

Permalink
.github: upgrade actions/checkout to version 4
Browse files Browse the repository at this point in the history
Fixes the following warning showing every time:

> The following actions uses node12 which is deprecated and will be
> forced to run on node16: actions/checkout@v2. For more info:
> https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/

Example:
https://github.com/thesofproject/sof-test/actions/runs/7345203885

Signed-off-by: Marc Herbert <[email protected]>
  • Loading branch information
marc-hb authored and Chao Song committed Jan 10, 2024
1 parent 7ff3b0e commit a4d3f24
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ jobs:
shellcheck:
runs-on: ubuntu-22.04
steps:
- {uses: actions/checkout@v2, with: {fetch-depth: 0}}
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: shellcheck
env:
BASE_REF: ${{ github.base_ref }}
Expand All @@ -33,7 +35,9 @@ jobs:
runs-on: ubuntu-22.04
steps:
# :-( https://github.community/t/support-for-yaml-anchors/16128
- {uses: actions/checkout@v2, with: {fetch-depth: 0}}
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: python --version

# Package index is "out of date by design"
Expand Down

0 comments on commit a4d3f24

Please sign in to comment.