Skip to content

Commit a4d3f24

Browse files
marc-hbChao Song
authored andcommitted
.github: upgrade actions/checkout to version 4
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 <marc.herbert@intel.com>
1 parent 7ff3b0e commit a4d3f24

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/pull_request.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ jobs:
2121
shellcheck:
2222
runs-on: ubuntu-22.04
2323
steps:
24-
- {uses: actions/checkout@v2, with: {fetch-depth: 0}}
24+
- uses: actions/checkout@v4
25+
with:
26+
fetch-depth: 0
2527
- name: shellcheck
2628
env:
2729
BASE_REF: ${{ github.base_ref }}
@@ -33,7 +35,9 @@ jobs:
3335
runs-on: ubuntu-22.04
3436
steps:
3537
# :-( https://github.community/t/support-for-yaml-anchors/16128
36-
- {uses: actions/checkout@v2, with: {fetch-depth: 0}}
38+
- uses: actions/checkout@v4
39+
with:
40+
fetch-depth: 0
3741
- run: python --version
3842

3943
# Package index is "out of date by design"

0 commit comments

Comments
 (0)