From 9c5b5297540f331f1a91033768ca4b4cab563c9a Mon Sep 17 00:00:00 2001 From: Phil Howard Date: Mon, 8 Apr 2024 12:47:14 +0100 Subject: [PATCH] CI: Update actions to fix nodejs deprecation warnings. --- .github/workflows/cmake.yml | 8 ++++---- .github/workflows/micropython.yml | 4 ++-- .github/workflows/python.yml | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 76bc2567..88dc4eab 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -25,7 +25,7 @@ jobs: steps: - name: Compiler Cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: /home/runner/.ccache key: ccache-cmake-${{github.ref}}-${{matrix.board}}-${{github.sha}} @@ -34,13 +34,13 @@ jobs: ccache-cmake-${{github.ref}} ccache-cmake - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true # Check out the Pico SDK - name: Checkout Pico SDK - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: raspberrypi/pico-sdk path: pico-sdk @@ -48,7 +48,7 @@ jobs: # Check out the Pico Extras - name: Checkout Pico Extras - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: raspberrypi/pico-extras path: pico-extras diff --git a/.github/workflows/micropython.yml b/.github/workflows/micropython.yml index b899cd6b..770a796a 100644 --- a/.github/workflows/micropython.yml +++ b/.github/workflows/micropython.yml @@ -52,7 +52,7 @@ jobs: steps: - name: Compiler Cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: /home/runner/.ccache key: ccache-micropython-${{ matrix.name }}-${{ github.ref }}-${{ github.sha }} @@ -111,7 +111,7 @@ jobs: cmake_build - name: Store .uf2 as artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ env.RELEASE_FILE }}.uf2 path: build-${{ matrix.name }}/${{ env.RELEASE_FILE }}.uf2 diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 80fd2c80..6a9cbb84 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -9,7 +9,7 @@ jobs: name: Python Linting runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install Python Deps run: python3 -m pip install flake8