Skip to content

Commit 11099a8

Browse files
tmlemankv2019i
authored andcommitted
github: workflows: updating actions versions
These actions use Node.js 20. This version is now deprecated and GitHub is emitting warnings in action workflow logs. Updating following actions: - checkout from v4 to v7.0.1 - upload-artifact from v4 to v7.0.1 - cache from v4 to v6.1.0 Updated to use version SHA instead of tags. Tags can be changed and the current trend is to pin to a specific version. Signed-off-by: Tomasz Leman <tomasz.m.leman@intel.com>
1 parent 4ab8d5c commit 11099a8

15 files changed

Lines changed: 28 additions & 28 deletions

.github/workflows/build_all.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
sudo apt-get -y install
5555
clang llvm ninja-build device-tree-compiler python3-pyelftools
5656

57-
- uses: actions/checkout@v4
57+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
5858
with:
5959
path: ./workspace/sof
6060
filter: 'tree:0'

.github/workflows/codestyle.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
yamllint:
2828
runs-on: ubuntu-latest
2929
steps:
30-
- uses: actions/checkout@v4
30+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
3131
with:
3232
filter: 'tree:0'
3333

.github/workflows/ipc_fuzzer.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
sudo apt-get -y install
7070
clang llvm ninja-build device-tree-compiler python3-pyelftools
7171

72-
- uses: actions/checkout@v4
72+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
7373
with:
7474
path: ./workspace/sof
7575
filter: 'tree:0'
@@ -103,7 +103,7 @@ jobs:
103103
-j"$(nproc)" -d "$RUNNER_TEMP/ipc${{ matrix.IPC }}.dict"
104104
105105
- name: Upload stdout
106-
uses: actions/upload-artifact@v4
106+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
107107
if: failure()
108108
with:
109109
name: ${{ matrix.IPC }} logs

.github/workflows/llext.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333

3434
steps:
3535
- name: checkout
36-
uses: actions/checkout@v4
36+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
3737
with:
3838
path: sof
3939
fetch-depth: 0 # fix git describe

.github/workflows/pull-request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
runs-on: ubuntu-26.04
4747

4848
steps:
49-
- uses: actions/checkout@v4
49+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
5050
with:
5151
filter: 'tree:0'
5252

.github/workflows/repro-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
runs-on: ubuntu-26.04
2929

3030
steps:
31-
- uses: actions/checkout@v4
31+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
3232
with: {fetch-depth: 0, submodules: recursive, filter: 'tree:0'}
3333

3434
- name: docker pull

.github/workflows/rimage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343

4444

4545
steps:
46-
- uses: actions/checkout@v4
46+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
4747
with: {submodules: recursive, fetch-depth: 0, filter: 'tree:0'}
4848

4949
- run: cmake -B build-rimage/ -S tools/rimage/ -DCMAKE_C_FLAGS="${_CFLGS}"
@@ -57,7 +57,7 @@ jobs:
5757
cppcheck:
5858
runs-on: ubuntu-26.04
5959
steps:
60-
- uses: actions/checkout@v4
60+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
6161
with: {submodules: recursive, fetch-depth: 0, filter: 'tree:0'}
6262

6363
- name: apt install cppcheck

.github/workflows/sof-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
runs-on: ubuntu-26.04
3939

4040
steps:
41-
- uses: actions/checkout@v4
41+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
4242
with:
4343
filter: 'tree:0'
4444

.github/workflows/sparse-zephyr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444

4545
steps:
4646
- name: git clone sparse analyzer
47-
uses: actions/checkout@v4
47+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
4848
with:
4949
repository: thesofproject/sparse
5050
fetch-depth: 0
@@ -61,7 +61,7 @@ jobs:
6161
make -j4 # HAVE_LLVM=no
6262
6363
- name: git clone sof
64-
uses: actions/checkout@v4
64+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
6565
with:
6666
path: sof
6767
fetch-depth: 0 # fix git describe

.github/workflows/testbench.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343

4444
steps:
4545
- name: Checkout SOF repository (PR source)
46-
uses: actions/checkout@v4
46+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
4747
with:
4848
path: sof
4949

0 commit comments

Comments
 (0)