diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 956cc9fe..fdd2add4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -38,7 +38,7 @@ jobs: west build -p -b beagleconnect_freedom samples/analog_input - name: Archive firmware - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: firmware path: Arduino-Zephyr-API/build/zephyr/zephyr.* diff --git a/.github/workflows/checkpatch.yml b/.github/workflows/checkpatch.yml index 41e2f69b..a6ff7bc6 100644 --- a/.github/workflows/checkpatch.yml +++ b/.github/workflows/checkpatch.yml @@ -21,7 +21,7 @@ jobs: steps: - name: 'Calculate PR commits + 1' run: echo "PR_FETCH_DEPTH=$(( ${{ github.event.pull_request.commits }} + 1 ))" >> $GITHUB_ENV - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.sha }} fetch-depth: ${{ env.PR_FETCH_DEPTH }} diff --git a/.github/workflows/license_check.yml b/.github/workflows/license_check.yml index bce1fb66..a57e9e57 100644 --- a/.github/workflows/license_check.yml +++ b/.github/workflows/license_check.yml @@ -8,14 +8,14 @@ jobs: name: Scan code for licenses steps: - name: Checkout the code - uses: actions/checkout@v1 + uses: actions/checkout@v4 - name: Scan the code id: scancode uses: zephyrproject-rtos/action_scancode@v4 with: directory-to-scan: 'scan/' - name: Artifact Upload - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v4 with: name: scancode path: ./artifacts