Skip to content

Commit c0864fc

Browse files
kapbhrlubos
authored andcommitted
[nrf noup] ci: Fix compliance workflow
Use v4 of cache to fix compliance. Signed-off-by: Kapil Bhatt <[email protected]>
1 parent 1f9f112 commit c0864fc

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/compliance.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ jobs:
1212
echo "$HOME/.local/bin" >> $GITHUB_PATH
1313
1414
- name: Checkout the code
15-
uses: actions/checkout@v3
15+
uses: actions/checkout@v4
1616
with:
1717
ref: ${{ github.event.pull_request.head.sha }}
1818
fetch-depth: 0
1919

2020
- name: cache-pip
21-
uses: actions/cache@v3
21+
uses: actions/cache@v4
2222
with:
2323
path: ~/.cache/pip
2424
key: ${{ runner.os }}-pip-${{ hashFiles('.github/workflows/compliance.yml') }}
@@ -61,7 +61,7 @@ jobs:
6161
-e KconfigBasicNoModules -e ModulesMaintainers -c origin/${BASE_REF}..
6262
6363
- name: upload-results
64-
uses: actions/upload-artifact@v3
64+
uses: actions/upload-artifact@v4
6565
continue-on-error: true
6666
with:
6767
name: compliance.xml

.github/workflows/license_check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
name: Scan code for licenses
99
steps:
1010
- name: Checkout the code
11-
uses: actions/checkout@v3
11+
uses: actions/checkout@v4
1212
with:
1313
fetch-depth: 0
1414
- name: Scan the code
@@ -17,7 +17,7 @@ jobs:
1717
with:
1818
directory-to-scan: 'scan/'
1919
- name: Artifact Upload
20-
uses: actions/upload-artifact@v3
20+
uses: actions/upload-artifact@v4
2121
with:
2222
name: scancode
2323
path: ./artifacts

0 commit comments

Comments
 (0)