Merge pull request #606 from Daft-Freak/actions-update

Update actions for deprecation warnings
This commit is contained in:
Philip Howard 2022-12-19 15:26:51 +00:00 committed by GitHub
commit 6f74017894
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 26 additions and 26 deletions

View File

@ -27,7 +27,7 @@ jobs:
steps:
- name: Compiler Cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: /home/runner/.ccache
key: ccache-cmake-${{github.ref}}-${{github.sha}}
@ -35,13 +35,13 @@ jobs:
ccache-cmake-${{github.ref}}
ccache-cmake
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: true
# Check out the Pico SDK
- name: Checkout Pico SDK
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: raspberrypi/pico-sdk
path: pico-sdk
@ -49,7 +49,7 @@ jobs:
# Check out the Pico Extras
- name: Checkout Pico Extras
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: raspberrypi/pico-extras
path: pico-extras

View File

@ -19,7 +19,7 @@ jobs:
steps:
- name: Workspace Cache
id: cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ${{runner.workspace}}
key: workspace-micropython-${{env.MICROPYTHON_VERSION}}
@ -29,7 +29,7 @@ jobs:
# Check out MicroPython
- name: Checkout MicroPython
if: steps.cache.outputs.cache-hit != 'true'
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: micropython/micropython
ref: ${{env.MICROPYTHON_VERSION}}
@ -61,7 +61,7 @@ jobs:
steps:
- name: Compiler Cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: /home/runner/.ccache
key: ccache-micropython-badger2040-${{github.ref}}-${{github.sha}}
@ -70,14 +70,14 @@ jobs:
ccache-micropython-badger2040-
- name: Workspace Cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ${{runner.workspace}}
key: workspace-micropython-${{env.MICROPYTHON_VERSION}}
restore-keys: |
workspace-micropython-${{env.MICROPYTHON_VERSION}}
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: true
path: pimoroni-pico-${{ github.sha }}
@ -117,7 +117,7 @@ jobs:
cp firmware.uf2 ${{env.RELEASE_FILE}}-without-badger-os.uf2
- name: Store .uf2 as artifact (No BadgerOS)
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: ${{env.RELEASE_FILE}}-without-badger-os.uf2
path: micropython/ports/rp2/build-${{env.BOARD_TYPE}}-without-badger-os/${{env.RELEASE_FILE}}-without-badger-os.uf2
@ -155,7 +155,7 @@ jobs:
cp firmware.uf2 ${{env.RELEASE_FILE}}.uf2
- name: Store .uf2 as artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: ${{env.RELEASE_FILE}}.uf2
path: micropython/ports/rp2/build-${{env.BOARD_TYPE}}/${{env.RELEASE_FILE}}.uf2

View File

@ -16,7 +16,7 @@ jobs:
steps:
- name: Workspace Cache
id: cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ${{runner.workspace}}
key: workspace-micropython-${{env.MICROPYTHON_VERSION}}-with-libs
@ -26,7 +26,7 @@ jobs:
# Check out MicroPython
- name: Checkout MicroPython
if: steps.cache.outputs.cache-hit != 'true'
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: micropython/micropython
ref: ${{env.MICROPYTHON_VERSION}}
@ -36,7 +36,7 @@ jobs:
# Check out MicroPython Libs
- name: Checkout MicroPython Libs
if: steps.cache.outputs.cache-hit != 'true'
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: micropython/micropython-lib
path: micropython-lib
@ -79,7 +79,7 @@ jobs:
steps:
- name: Compiler Cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: /home/runner/.ccache
key: ccache-micropython-${{matrix.name}}-${{github.ref}}-${{github.sha}}
@ -88,7 +88,7 @@ jobs:
ccache-micropython-${{matrix.name}}-
- name: Workspace Cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ${{runner.workspace}}
key: workspace-micropython-${{env.MICROPYTHON_VERSION}}-with-libs
@ -100,7 +100,7 @@ jobs:
run: |
sudo apt update && sudo apt install ccache gcc-arm-none-eabi
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: true
path: pimoroni-pico-${{ github.sha }}
@ -133,13 +133,13 @@ jobs:
cp firmware.elf $RELEASE_FILE.elf
- name: Store .uf2 as artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: ${{env.RELEASE_FILE}}.uf2
path: micropython/ports/rp2/build-${{matrix.board}}/${{env.RELEASE_FILE}}.uf2
- name: Store .elf as artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: ${{env.RELEASE_FILE}}.elf
path: micropython/ports/rp2/build-${{matrix.board}}/${{env.RELEASE_FILE}}.elf

View File

@ -16,7 +16,7 @@ jobs:
steps:
- name: Workspace Cache
id: cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ${{runner.workspace}}
key: workspace-micropython-${{env.MICROPYTHON_VERSION}}
@ -26,7 +26,7 @@ jobs:
# Check out MicroPython
- name: Checkout MicroPython
if: steps.cache.outputs.cache-hit != 'true'
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: micropython/micropython
ref: ${{env.MICROPYTHON_VERSION}}
@ -75,7 +75,7 @@ jobs:
steps:
- name: Compiler Cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: /home/runner/.ccache
key: ccache-micropython-${{matrix.name}}-${{github.ref}}-${{github.sha}}
@ -84,7 +84,7 @@ jobs:
ccache-micropython-${{matrix.name}}-
- name: Workspace Cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ${{runner.workspace}}
key: workspace-micropython-${{env.MICROPYTHON_VERSION}}
@ -96,7 +96,7 @@ jobs:
run: |
sudo apt update && sudo apt install ccache gcc-arm-none-eabi
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: true
path: pimoroni-pico-${{ github.sha }}
@ -127,7 +127,7 @@ jobs:
run: cp firmware.uf2 $RELEASE_FILE
- name: Store .uf2 as artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: ${{env.RELEASE_FILE}}
path: micropython/ports/rp2/build-${{matrix.board}}/${{env.RELEASE_FILE}}

View File

@ -9,7 +9,7 @@ jobs:
name: Python Linting
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Install Python Deps
run: python3 -m pip install flake8