ci: update Github actions versions
Update Github actions to their latest versions to fix the following warnings on runs: ``` Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/. ``` `actions/checkout` and `actions/cache` are straight Node version upgrades, `actions/upload-artifact` and `actions/download-artifact` have breaking changes, but don't appear to affect our usage. https://github.com/actions/upload-artifact Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au>
This commit is contained in:
parent
ed2e7eaefe
commit
0dcb0518be
26 changed files with 62 additions and 62 deletions
2
.github/workflows/assigner.yml
vendored
2
.github/workflows/assigner.yml
vendored
|
|
@ -28,7 +28,7 @@ jobs:
|
||||||
pip3 install -U PyGithub>=1.55 west
|
pip3 install -U PyGithub>=1.55 west
|
||||||
|
|
||||||
- name: Check out source code
|
- name: Check out source code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Run assignment script
|
- name: Run assignment script
|
||||||
env:
|
env:
|
||||||
|
|
|
||||||
2
.github/workflows/backport_issue_check.yml
vendored
2
.github/workflows/backport_issue_check.yml
vendored
|
|
@ -13,7 +13,7 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Check out source code
|
- name: Check out source code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install Python dependencies
|
- name: Install Python dependencies
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
6
.github/workflows/bsim-tests.yaml
vendored
6
.github/workflows/bsim-tests.yaml
vendored
|
|
@ -62,7 +62,7 @@ jobs:
|
||||||
git remote set-url origin ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}
|
git remote set-url origin ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
|
|
@ -191,7 +191,7 @@ jobs:
|
||||||
|
|
||||||
- name: Upload Test Results
|
- name: Upload Test Results
|
||||||
if: always()
|
if: always()
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: bsim-test-results
|
name: bsim-test-results
|
||||||
path: |
|
path: |
|
||||||
|
|
@ -207,7 +207,7 @@ jobs:
|
||||||
|
|
||||||
- name: Upload Event Details
|
- name: Upload Event Details
|
||||||
if: always()
|
if: always()
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: event
|
name: event
|
||||||
path: |
|
path: |
|
||||||
|
|
|
||||||
2
.github/workflows/bug_snapshot.yaml
vendored
2
.github/workflows/bug_snapshot.yaml
vendored
|
|
@ -21,7 +21,7 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install Python dependencies
|
- name: Install Python dependencies
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
8
.github/workflows/clang.yaml
vendored
8
.github/workflows/clang.yaml
vendored
|
|
@ -41,7 +41,7 @@ jobs:
|
||||||
git remote set-url origin ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}
|
git remote set-url origin ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.event.pull_request.head.sha }}
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
@ -126,7 +126,7 @@ jobs:
|
||||||
|
|
||||||
- name: Upload Unit Test Results
|
- name: Upload Unit Test Results
|
||||||
if: always() && steps.twister.outputs.report_needed != 0
|
if: always() && steps.twister.outputs.report_needed != 0
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: Unit Test Results (Subset ${{ matrix.platform }})
|
name: Unit Test Results (Subset ${{ matrix.platform }})
|
||||||
path: twister-out/twister.xml
|
path: twister-out/twister.xml
|
||||||
|
|
@ -138,7 +138,7 @@ jobs:
|
||||||
if: (success() || failure() ) && needs.clang-build.outputs.report_needed != 0
|
if: (success() || failure() ) && needs.clang-build.outputs.report_needed != 0
|
||||||
steps:
|
steps:
|
||||||
- name: Download Artifacts
|
- name: Download Artifacts
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
path: artifacts
|
path: artifacts
|
||||||
- name: Merge Test Results
|
- name: Merge Test Results
|
||||||
|
|
@ -149,7 +149,7 @@ jobs:
|
||||||
|
|
||||||
- name: Upload Unit Test Results in HTML
|
- name: Upload Unit Test Results in HTML
|
||||||
if: always()
|
if: always()
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: HTML Unit Test Results
|
name: HTML Unit Test Results
|
||||||
if-no-files-found: ignore
|
if-no-files-found: ignore
|
||||||
|
|
|
||||||
10
.github/workflows/codecov.yaml
vendored
10
.github/workflows/codecov.yaml
vendored
|
|
@ -41,7 +41,7 @@ jobs:
|
||||||
git remote set-url origin ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}
|
git remote set-url origin ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}
|
||||||
|
|
||||||
- name: checkout
|
- name: checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
|
|
@ -104,7 +104,7 @@ jobs:
|
||||||
|
|
||||||
- name: Upload Coverage Results
|
- name: Upload Coverage Results
|
||||||
if: always()
|
if: always()
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: Coverage Data (Subset ${{ matrix.platform }})
|
name: Coverage Data (Subset ${{ matrix.platform }})
|
||||||
path: coverage/reports/${{ matrix.platform }}.json
|
path: coverage/reports/${{ matrix.platform }}.json
|
||||||
|
|
@ -118,11 +118,11 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: checkout
|
- name: checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: Download Artifacts
|
- name: Download Artifacts
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
path: coverage/reports
|
path: coverage/reports
|
||||||
|
|
||||||
|
|
@ -166,7 +166,7 @@ jobs:
|
||||||
|
|
||||||
- name: Upload Merged Coverage Results
|
- name: Upload Merged Coverage Results
|
||||||
if: always()
|
if: always()
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: Merged Coverage Data
|
name: Merged Coverage Data
|
||||||
path: |
|
path: |
|
||||||
|
|
|
||||||
4
.github/workflows/coding_guidelines.yml
vendored
4
.github/workflows/coding_guidelines.yml
vendored
|
|
@ -8,13 +8,13 @@ jobs:
|
||||||
name: Run coding guidelines checks on patch series (PR)
|
name: Run coding guidelines checks on patch series (PR)
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout the code
|
- name: Checkout the code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.event.pull_request.head.sha }}
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: cache-pip
|
- name: cache-pip
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ~/.cache/pip
|
path: ~/.cache/pip
|
||||||
key: ${{ runner.os }}-pip-${{ hashFiles('.github/workflows/coding_guidelines.yml') }}
|
key: ${{ runner.os }}-pip-${{ hashFiles('.github/workflows/coding_guidelines.yml') }}
|
||||||
|
|
|
||||||
6
.github/workflows/compliance.yml
vendored
6
.github/workflows/compliance.yml
vendored
|
|
@ -12,13 +12,13 @@ jobs:
|
||||||
echo "$HOME/.local/bin" >> $GITHUB_PATH
|
echo "$HOME/.local/bin" >> $GITHUB_PATH
|
||||||
|
|
||||||
- name: Checkout the code
|
- name: Checkout the code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.event.pull_request.head.sha }}
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: cache-pip
|
- name: cache-pip
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ~/.cache/pip
|
path: ~/.cache/pip
|
||||||
key: ${{ runner.os }}-pip-${{ hashFiles('.github/workflows/compliance.yml') }}
|
key: ${{ runner.os }}-pip-${{ hashFiles('.github/workflows/compliance.yml') }}
|
||||||
|
|
@ -61,7 +61,7 @@ jobs:
|
||||||
-c origin/${BASE_REF}..
|
-c origin/${BASE_REF}..
|
||||||
|
|
||||||
- name: upload-results
|
- name: upload-results
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
with:
|
with:
|
||||||
name: compliance.xml
|
name: compliance.xml
|
||||||
|
|
|
||||||
2
.github/workflows/daily_test_version.yml
vendored
2
.github/workflows/daily_test_version.yml
vendored
|
|
@ -28,7 +28,7 @@ jobs:
|
||||||
pip3 install gitpython
|
pip3 install gitpython
|
||||||
|
|
||||||
- name: checkout
|
- name: checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
|
|
|
||||||
8
.github/workflows/devicetree_checks.yml
vendored
8
.github/workflows/devicetree_checks.yml
vendored
|
|
@ -35,14 +35,14 @@ jobs:
|
||||||
python-version: 3.6
|
python-version: 3.6
|
||||||
steps:
|
steps:
|
||||||
- name: checkout
|
- name: checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
- name: Set up Python ${{ matrix.python-version }}
|
- name: Set up Python ${{ matrix.python-version }}
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
- name: cache-pip-linux
|
- name: cache-pip-linux
|
||||||
if: startsWith(runner.os, 'Linux')
|
if: startsWith(runner.os, 'Linux')
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ~/.cache/pip
|
path: ~/.cache/pip
|
||||||
key: ${{ runner.os }}-pip-${{ matrix.python-version }}
|
key: ${{ runner.os }}-pip-${{ matrix.python-version }}
|
||||||
|
|
@ -50,7 +50,7 @@ jobs:
|
||||||
${{ runner.os }}-pip-${{ matrix.python-version }}
|
${{ runner.os }}-pip-${{ matrix.python-version }}
|
||||||
- name: cache-pip-mac
|
- name: cache-pip-mac
|
||||||
if: startsWith(runner.os, 'macOS')
|
if: startsWith(runner.os, 'macOS')
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ~/Library/Caches/pip
|
path: ~/Library/Caches/pip
|
||||||
# Trailing '-' was just to get a different cache name
|
# Trailing '-' was just to get a different cache name
|
||||||
|
|
@ -59,7 +59,7 @@ jobs:
|
||||||
${{ runner.os }}-pip-${{ matrix.python-version }}-
|
${{ runner.os }}-pip-${{ matrix.python-version }}-
|
||||||
- name: cache-pip-win
|
- name: cache-pip-win
|
||||||
if: startsWith(runner.os, 'Windows')
|
if: startsWith(runner.os, 'Windows')
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ~\AppData\Local\pip\Cache
|
path: ~\AppData\Local\pip\Cache
|
||||||
key: ${{ runner.os }}-pip-${{ matrix.python-version }}
|
key: ${{ runner.os }}-pip-${{ matrix.python-version }}
|
||||||
|
|
|
||||||
16
.github/workflows/doc-build.yml
vendored
16
.github/workflows/doc-build.yml
vendored
|
|
@ -44,7 +44,7 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: checkout
|
- name: checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.event.pull_request.head.sha }}
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
@ -70,7 +70,7 @@ jobs:
|
||||||
echo "${PWD}/doxygen-${DOXYGEN_VERSION}/bin" >> $GITHUB_PATH
|
echo "${PWD}/doxygen-${DOXYGEN_VERSION}/bin" >> $GITHUB_PATH
|
||||||
|
|
||||||
- name: cache-pip
|
- name: cache-pip
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ~/.cache/pip
|
path: ~/.cache/pip
|
||||||
key: pip-${{ hashFiles('doc/requirements.txt') }}
|
key: pip-${{ hashFiles('doc/requirements.txt') }}
|
||||||
|
|
@ -116,13 +116,13 @@ jobs:
|
||||||
tar cfJ api-coverage.tar.xz coverage-report
|
tar cfJ api-coverage.tar.xz coverage-report
|
||||||
|
|
||||||
- name: upload-build
|
- name: upload-build
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: html-output
|
name: html-output
|
||||||
path: html-output.tar.xz
|
path: html-output.tar.xz
|
||||||
|
|
||||||
- name: upload-api-coverage
|
- name: upload-api-coverage
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: api-coverage
|
name: api-coverage
|
||||||
path: api-coverage.tar.xz
|
path: api-coverage.tar.xz
|
||||||
|
|
@ -142,7 +142,7 @@ jobs:
|
||||||
echo "API Coverage Report will be available shortly at: ${API_COVERAGE_URL}" >> $GITHUB_STEP_SUMMARY
|
echo "API Coverage Report will be available shortly at: ${API_COVERAGE_URL}" >> $GITHUB_STEP_SUMMARY
|
||||||
|
|
||||||
- name: upload-pr-number
|
- name: upload-pr-number
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
if: github.event_name == 'pull_request'
|
if: github.event_name == 'pull_request'
|
||||||
with:
|
with:
|
||||||
name: pr_num
|
name: pr_num
|
||||||
|
|
@ -166,7 +166,7 @@ jobs:
|
||||||
git config --global --add safe.directory ${GITHUB_WORKSPACE}
|
git config --global --add safe.directory ${GITHUB_WORKSPACE}
|
||||||
|
|
||||||
- name: checkout
|
- name: checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: install-pkgs
|
- name: install-pkgs
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -174,7 +174,7 @@ jobs:
|
||||||
apt-get install -y python3-pip python3-venv ninja-build doxygen graphviz librsvg2-bin
|
apt-get install -y python3-pip python3-venv ninja-build doxygen graphviz librsvg2-bin
|
||||||
|
|
||||||
- name: cache-pip
|
- name: cache-pip
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ~/.cache/pip
|
path: ~/.cache/pip
|
||||||
key: pip-${{ hashFiles('doc/requirements.txt') }}
|
key: pip-${{ hashFiles('doc/requirements.txt') }}
|
||||||
|
|
@ -210,7 +210,7 @@ jobs:
|
||||||
|
|
||||||
- name: upload-build
|
- name: upload-build
|
||||||
if: always()
|
if: always()
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: pdf-output
|
name: pdf-output
|
||||||
if-no-files-found: ignore
|
if-no-files-found: ignore
|
||||||
|
|
|
||||||
2
.github/workflows/errno.yml
vendored
2
.github/workflows/errno.yml
vendored
|
|
@ -22,7 +22,7 @@ jobs:
|
||||||
git config --global --add safe.directory ${GITHUB_WORKSPACE}
|
git config --global --add safe.directory ${GITHUB_WORKSPACE}
|
||||||
|
|
||||||
- name: checkout
|
- name: checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Environment Setup
|
- name: Environment Setup
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
2
.github/workflows/footprint-tracking.yml
vendored
2
.github/workflows/footprint-tracking.yml
vendored
|
|
@ -51,7 +51,7 @@ jobs:
|
||||||
sudo pip3 install -U setuptools wheel pip gitpython
|
sudo pip3 install -U setuptools wheel pip gitpython
|
||||||
|
|
||||||
- name: checkout
|
- name: checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.event.pull_request.head.sha }}
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
|
||||||
2
.github/workflows/footprint.yml
vendored
2
.github/workflows/footprint.yml
vendored
|
|
@ -31,7 +31,7 @@ jobs:
|
||||||
echo "$HOME/.local/bin" >> $GITHUB_PATH
|
echo "$HOME/.local/bin" >> $GITHUB_PATH
|
||||||
|
|
||||||
- name: checkout
|
- name: checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.event.pull_request.head.sha }}
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ jobs:
|
||||||
if: github.repository == 'zephyrproject-rtos/zephyr'
|
if: github.repository == 'zephyrproject-rtos/zephyr'
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- uses: zephyrproject-rtos/action-first-interaction@v1.1.1-zephyr-5
|
- uses: zephyrproject-rtos/action-first-interaction@v1.1.1-zephyr-5
|
||||||
with:
|
with:
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
|
||||||
2
.github/workflows/issue_count.yml
vendored
2
.github/workflows/issue_count.yml
vendored
|
|
@ -35,7 +35,7 @@ jobs:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: upload-stats
|
- name: upload-stats
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
with:
|
with:
|
||||||
name: ${{ env.OUTPUT_FILE_NAME }}
|
name: ${{ env.OUTPUT_FILE_NAME }}
|
||||||
|
|
|
||||||
4
.github/workflows/license_check.yml
vendored
4
.github/workflows/license_check.yml
vendored
|
|
@ -8,7 +8,7 @@ jobs:
|
||||||
name: Scan code for licenses
|
name: Scan code for licenses
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout the code
|
- name: Checkout the code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: Scan the code
|
- name: Scan the code
|
||||||
|
|
@ -17,7 +17,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
directory-to-scan: 'scan/'
|
directory-to-scan: 'scan/'
|
||||||
- name: Artifact Upload
|
- name: Artifact Upload
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: scancode
|
name: scancode
|
||||||
path: ./artifacts
|
path: ./artifacts
|
||||||
|
|
|
||||||
2
.github/workflows/manifest.yml
vendored
2
.github/workflows/manifest.yml
vendored
|
|
@ -8,7 +8,7 @@ jobs:
|
||||||
name: Manifest
|
name: Manifest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout the code
|
- name: Checkout the code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
path: zephyrproject/zephyr
|
path: zephyrproject/zephyr
|
||||||
ref: ${{ github.event.pull_request.head.sha }}
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
|
|
|
||||||
4
.github/workflows/pylib_tests.yml
vendored
4
.github/workflows/pylib_tests.yml
vendored
|
|
@ -29,14 +29,14 @@ jobs:
|
||||||
os: [ubuntu-22.04]
|
os: [ubuntu-22.04]
|
||||||
steps:
|
steps:
|
||||||
- name: checkout
|
- name: checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
- name: Set up Python ${{ matrix.python-version }}
|
- name: Set up Python ${{ matrix.python-version }}
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
- name: cache-pip-linux
|
- name: cache-pip-linux
|
||||||
if: startsWith(runner.os, 'Linux')
|
if: startsWith(runner.os, 'Linux')
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ~/.cache/pip
|
path: ~/.cache/pip
|
||||||
key: ${{ runner.os }}-pip-${{ matrix.python-version }}
|
key: ${{ runner.os }}-pip-${{ matrix.python-version }}
|
||||||
|
|
|
||||||
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
|
|
@ -10,7 +10,7 @@ jobs:
|
||||||
release:
|
release:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
|
|
@ -26,7 +26,7 @@ jobs:
|
||||||
args: spdx -o zephyr-${{ steps.get_version.outputs.VERSION }}.spdx
|
args: spdx -o zephyr-${{ steps.get_version.outputs.VERSION }}.spdx
|
||||||
|
|
||||||
- name: upload-results
|
- name: upload-results
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
with:
|
with:
|
||||||
name: zephyr-${{ steps.get_version.outputs.VERSION }}.spdx
|
name: zephyr-${{ steps.get_version.outputs.VERSION }}.spdx
|
||||||
|
|
|
||||||
4
.github/workflows/scripts_tests.yml
vendored
4
.github/workflows/scripts_tests.yml
vendored
|
|
@ -29,7 +29,7 @@ jobs:
|
||||||
os: [ubuntu-20.04]
|
os: [ubuntu-20.04]
|
||||||
steps:
|
steps:
|
||||||
- name: checkout
|
- name: checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.event.pull_request.head.sha }}
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
@ -52,7 +52,7 @@ jobs:
|
||||||
|
|
||||||
- name: cache-pip-linux
|
- name: cache-pip-linux
|
||||||
if: startsWith(runner.os, 'Linux')
|
if: startsWith(runner.os, 'Linux')
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ~/.cache/pip
|
path: ~/.cache/pip
|
||||||
key: ${{ runner.os }}-pip-${{ matrix.python-version }}
|
key: ${{ runner.os }}-pip-${{ matrix.python-version }}
|
||||||
|
|
|
||||||
2
.github/workflows/stats_merged_prs.yml
vendored
2
.github/workflows/stats_merged_prs.yml
vendored
|
|
@ -12,7 +12,7 @@ jobs:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- name: checkout
|
- name: checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
- name: PR event
|
- name: PR event
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
|
||||||
14
.github/workflows/twister.yaml
vendored
14
.github/workflows/twister.yaml
vendored
|
|
@ -59,7 +59,7 @@ jobs:
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
if: github.event_name == 'pull_request_target'
|
if: github.event_name == 'pull_request_target'
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.event.pull_request.head.sha }}
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
@ -156,7 +156,7 @@ jobs:
|
||||||
git remote set-url origin ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}
|
git remote set-url origin ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.event.pull_request.head.sha }}
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
@ -271,7 +271,7 @@ jobs:
|
||||||
|
|
||||||
- name: Upload Unit Test Results
|
- name: Upload Unit Test Results
|
||||||
if: always()
|
if: always()
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: Unit Test Results (Subset ${{ matrix.subset }})
|
name: Unit Test Results (Subset ${{ matrix.subset }})
|
||||||
if-no-files-found: ignore
|
if-no-files-found: ignore
|
||||||
|
|
@ -293,7 +293,7 @@ jobs:
|
||||||
|
|
||||||
- if: matrix.subset == 1 && github.event_name == 'push'
|
- if: matrix.subset == 1 && github.event_name == 'push'
|
||||||
name: Upload the list of Python packages
|
name: Upload the list of Python packages
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: Frozen PIP package set
|
name: Frozen PIP package set
|
||||||
path: |
|
path: |
|
||||||
|
|
@ -313,13 +313,13 @@ jobs:
|
||||||
# Needed for opensearch and upload script
|
# Needed for opensearch and upload script
|
||||||
- if: github.event_name == 'push' || github.event_name == 'schedule'
|
- if: github.event_name == 'push' || github.event_name == 'schedule'
|
||||||
name: Checkout
|
name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
|
|
||||||
- name: Download Artifacts
|
- name: Download Artifacts
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
path: artifacts
|
path: artifacts
|
||||||
|
|
||||||
|
|
@ -345,7 +345,7 @@ jobs:
|
||||||
|
|
||||||
- name: Upload Unit Test Results in HTML
|
- name: Upload Unit Test Results in HTML
|
||||||
if: always()
|
if: always()
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: HTML Unit Test Results
|
name: HTML Unit Test Results
|
||||||
if-no-files-found: ignore
|
if-no-files-found: ignore
|
||||||
|
|
|
||||||
4
.github/workflows/twister_tests.yml
vendored
4
.github/workflows/twister_tests.yml
vendored
|
|
@ -33,14 +33,14 @@ jobs:
|
||||||
os: [ubuntu-22.04]
|
os: [ubuntu-22.04]
|
||||||
steps:
|
steps:
|
||||||
- name: checkout
|
- name: checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
- name: Set up Python ${{ matrix.python-version }}
|
- name: Set up Python ${{ matrix.python-version }}
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
- name: cache-pip-linux
|
- name: cache-pip-linux
|
||||||
if: startsWith(runner.os, 'Linux')
|
if: startsWith(runner.os, 'Linux')
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ~/.cache/pip
|
path: ~/.cache/pip
|
||||||
key: ${{ runner.os }}-pip-${{ matrix.python-version }}
|
key: ${{ runner.os }}-pip-${{ matrix.python-version }}
|
||||||
|
|
|
||||||
2
.github/workflows/twister_tests_blackbox.yml
vendored
2
.github/workflows/twister_tests_blackbox.yml
vendored
|
|
@ -34,7 +34,7 @@ jobs:
|
||||||
git config --global --add safe.directory ${GITHUB_WORKSPACE}
|
git config --global --add safe.directory ${GITHUB_WORKSPACE}
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Environment Setup
|
- name: Environment Setup
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
8
.github/workflows/west_cmds.yml
vendored
8
.github/workflows/west_cmds.yml
vendored
|
|
@ -36,14 +36,14 @@ jobs:
|
||||||
python-version: 3.6
|
python-version: 3.6
|
||||||
steps:
|
steps:
|
||||||
- name: checkout
|
- name: checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
- name: Set up Python ${{ matrix.python-version }}
|
- name: Set up Python ${{ matrix.python-version }}
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
- name: cache-pip-linux
|
- name: cache-pip-linux
|
||||||
if: startsWith(runner.os, 'Linux')
|
if: startsWith(runner.os, 'Linux')
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ~/.cache/pip
|
path: ~/.cache/pip
|
||||||
key: ${{ runner.os }}-pip-${{ matrix.python-version }}
|
key: ${{ runner.os }}-pip-${{ matrix.python-version }}
|
||||||
|
|
@ -51,7 +51,7 @@ jobs:
|
||||||
${{ runner.os }}-pip-${{ matrix.python-version }}
|
${{ runner.os }}-pip-${{ matrix.python-version }}
|
||||||
- name: cache-pip-mac
|
- name: cache-pip-mac
|
||||||
if: startsWith(runner.os, 'macOS')
|
if: startsWith(runner.os, 'macOS')
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ~/Library/Caches/pip
|
path: ~/Library/Caches/pip
|
||||||
# Trailing '-' was just to get a different cache name
|
# Trailing '-' was just to get a different cache name
|
||||||
|
|
@ -60,7 +60,7 @@ jobs:
|
||||||
${{ runner.os }}-pip-${{ matrix.python-version }}-
|
${{ runner.os }}-pip-${{ matrix.python-version }}-
|
||||||
- name: cache-pip-win
|
- name: cache-pip-win
|
||||||
if: startsWith(runner.os, 'Windows')
|
if: startsWith(runner.os, 'Windows')
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: ~\AppData\Local\pip\Cache
|
path: ~\AppData\Local\pip\Cache
|
||||||
key: ${{ runner.os }}-pip-${{ matrix.python-version }}
|
key: ${{ runner.os }}-pip-${{ matrix.python-version }}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue