Update actions for deprecation warnings
This commit is contained in:
parent
fe55d9beef
commit
52164a1c34
|
@ -27,7 +27,7 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Compiler Cache
|
- name: Compiler Cache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: /home/runner/.ccache
|
path: /home/runner/.ccache
|
||||||
key: ccache-cmake-${{github.ref}}-${{github.sha}}
|
key: ccache-cmake-${{github.ref}}-${{github.sha}}
|
||||||
|
@ -35,13 +35,13 @@ jobs:
|
||||||
ccache-cmake-${{github.ref}}
|
ccache-cmake-${{github.ref}}
|
||||||
ccache-cmake
|
ccache-cmake
|
||||||
|
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
|
|
||||||
# Check out the Pico SDK
|
# Check out the Pico SDK
|
||||||
- name: Checkout Pico SDK
|
- name: Checkout Pico SDK
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
repository: raspberrypi/pico-sdk
|
repository: raspberrypi/pico-sdk
|
||||||
path: pico-sdk
|
path: pico-sdk
|
||||||
|
@ -49,7 +49,7 @@ jobs:
|
||||||
|
|
||||||
# Check out the Pico Extras
|
# Check out the Pico Extras
|
||||||
- name: Checkout Pico Extras
|
- name: Checkout Pico Extras
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
repository: raspberrypi/pico-extras
|
repository: raspberrypi/pico-extras
|
||||||
path: pico-extras
|
path: pico-extras
|
||||||
|
|
|
@ -19,7 +19,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Workspace Cache
|
- name: Workspace Cache
|
||||||
id: cache
|
id: cache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: ${{runner.workspace}}
|
path: ${{runner.workspace}}
|
||||||
key: workspace-micropython-${{env.MICROPYTHON_VERSION}}
|
key: workspace-micropython-${{env.MICROPYTHON_VERSION}}
|
||||||
|
@ -29,7 +29,7 @@ jobs:
|
||||||
# Check out MicroPython
|
# Check out MicroPython
|
||||||
- name: Checkout MicroPython
|
- name: Checkout MicroPython
|
||||||
if: steps.cache.outputs.cache-hit != 'true'
|
if: steps.cache.outputs.cache-hit != 'true'
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
repository: micropython/micropython
|
repository: micropython/micropython
|
||||||
ref: ${{env.MICROPYTHON_VERSION}}
|
ref: ${{env.MICROPYTHON_VERSION}}
|
||||||
|
@ -61,7 +61,7 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Compiler Cache
|
- name: Compiler Cache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: /home/runner/.ccache
|
path: /home/runner/.ccache
|
||||||
key: ccache-micropython-badger2040-${{github.ref}}-${{github.sha}}
|
key: ccache-micropython-badger2040-${{github.ref}}-${{github.sha}}
|
||||||
|
@ -70,14 +70,14 @@ jobs:
|
||||||
ccache-micropython-badger2040-
|
ccache-micropython-badger2040-
|
||||||
|
|
||||||
- name: Workspace Cache
|
- name: Workspace Cache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: ${{runner.workspace}}
|
path: ${{runner.workspace}}
|
||||||
key: workspace-micropython-${{env.MICROPYTHON_VERSION}}
|
key: workspace-micropython-${{env.MICROPYTHON_VERSION}}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
workspace-micropython-${{env.MICROPYTHON_VERSION}}
|
workspace-micropython-${{env.MICROPYTHON_VERSION}}
|
||||||
|
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
path: pimoroni-pico-${{ github.sha }}
|
path: pimoroni-pico-${{ github.sha }}
|
||||||
|
@ -117,7 +117,7 @@ jobs:
|
||||||
cp firmware.uf2 ${{env.RELEASE_FILE}}-without-badger-os.uf2
|
cp firmware.uf2 ${{env.RELEASE_FILE}}-without-badger-os.uf2
|
||||||
|
|
||||||
- name: Store .uf2 as artifact (No BadgerOS)
|
- name: Store .uf2 as artifact (No BadgerOS)
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: ${{env.RELEASE_FILE}}-without-badger-os.uf2
|
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
|
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
|
cp firmware.uf2 ${{env.RELEASE_FILE}}.uf2
|
||||||
|
|
||||||
- name: Store .uf2 as artifact
|
- name: Store .uf2 as artifact
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: ${{env.RELEASE_FILE}}.uf2
|
name: ${{env.RELEASE_FILE}}.uf2
|
||||||
path: micropython/ports/rp2/build-${{env.BOARD_TYPE}}/${{env.RELEASE_FILE}}.uf2
|
path: micropython/ports/rp2/build-${{env.BOARD_TYPE}}/${{env.RELEASE_FILE}}.uf2
|
||||||
|
|
|
@ -16,7 +16,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Workspace Cache
|
- name: Workspace Cache
|
||||||
id: cache
|
id: cache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: ${{runner.workspace}}
|
path: ${{runner.workspace}}
|
||||||
key: workspace-micropython-${{env.MICROPYTHON_VERSION}}-with-libs
|
key: workspace-micropython-${{env.MICROPYTHON_VERSION}}-with-libs
|
||||||
|
@ -26,7 +26,7 @@ jobs:
|
||||||
# Check out MicroPython
|
# Check out MicroPython
|
||||||
- name: Checkout MicroPython
|
- name: Checkout MicroPython
|
||||||
if: steps.cache.outputs.cache-hit != 'true'
|
if: steps.cache.outputs.cache-hit != 'true'
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
repository: micropython/micropython
|
repository: micropython/micropython
|
||||||
ref: ${{env.MICROPYTHON_VERSION}}
|
ref: ${{env.MICROPYTHON_VERSION}}
|
||||||
|
@ -36,7 +36,7 @@ jobs:
|
||||||
# Check out MicroPython Libs
|
# Check out MicroPython Libs
|
||||||
- name: Checkout MicroPython Libs
|
- name: Checkout MicroPython Libs
|
||||||
if: steps.cache.outputs.cache-hit != 'true'
|
if: steps.cache.outputs.cache-hit != 'true'
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
repository: micropython/micropython-lib
|
repository: micropython/micropython-lib
|
||||||
path: micropython-lib
|
path: micropython-lib
|
||||||
|
@ -79,7 +79,7 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Compiler Cache
|
- name: Compiler Cache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: /home/runner/.ccache
|
path: /home/runner/.ccache
|
||||||
key: ccache-micropython-${{matrix.name}}-${{github.ref}}-${{github.sha}}
|
key: ccache-micropython-${{matrix.name}}-${{github.ref}}-${{github.sha}}
|
||||||
|
@ -88,7 +88,7 @@ jobs:
|
||||||
ccache-micropython-${{matrix.name}}-
|
ccache-micropython-${{matrix.name}}-
|
||||||
|
|
||||||
- name: Workspace Cache
|
- name: Workspace Cache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: ${{runner.workspace}}
|
path: ${{runner.workspace}}
|
||||||
key: workspace-micropython-${{env.MICROPYTHON_VERSION}}-with-libs
|
key: workspace-micropython-${{env.MICROPYTHON_VERSION}}-with-libs
|
||||||
|
@ -100,7 +100,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
sudo apt update && sudo apt install ccache gcc-arm-none-eabi
|
sudo apt update && sudo apt install ccache gcc-arm-none-eabi
|
||||||
|
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
path: pimoroni-pico-${{ github.sha }}
|
path: pimoroni-pico-${{ github.sha }}
|
||||||
|
@ -133,13 +133,13 @@ jobs:
|
||||||
cp firmware.elf $RELEASE_FILE.elf
|
cp firmware.elf $RELEASE_FILE.elf
|
||||||
|
|
||||||
- name: Store .uf2 as artifact
|
- name: Store .uf2 as artifact
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: ${{env.RELEASE_FILE}}.uf2
|
name: ${{env.RELEASE_FILE}}.uf2
|
||||||
path: micropython/ports/rp2/build-${{matrix.board}}/${{env.RELEASE_FILE}}.uf2
|
path: micropython/ports/rp2/build-${{matrix.board}}/${{env.RELEASE_FILE}}.uf2
|
||||||
|
|
||||||
- name: Store .elf as artifact
|
- name: Store .elf as artifact
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: ${{env.RELEASE_FILE}}.elf
|
name: ${{env.RELEASE_FILE}}.elf
|
||||||
path: micropython/ports/rp2/build-${{matrix.board}}/${{env.RELEASE_FILE}}.elf
|
path: micropython/ports/rp2/build-${{matrix.board}}/${{env.RELEASE_FILE}}.elf
|
||||||
|
|
|
@ -16,7 +16,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Workspace Cache
|
- name: Workspace Cache
|
||||||
id: cache
|
id: cache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: ${{runner.workspace}}
|
path: ${{runner.workspace}}
|
||||||
key: workspace-micropython-${{env.MICROPYTHON_VERSION}}
|
key: workspace-micropython-${{env.MICROPYTHON_VERSION}}
|
||||||
|
@ -26,7 +26,7 @@ jobs:
|
||||||
# Check out MicroPython
|
# Check out MicroPython
|
||||||
- name: Checkout MicroPython
|
- name: Checkout MicroPython
|
||||||
if: steps.cache.outputs.cache-hit != 'true'
|
if: steps.cache.outputs.cache-hit != 'true'
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
repository: micropython/micropython
|
repository: micropython/micropython
|
||||||
ref: ${{env.MICROPYTHON_VERSION}}
|
ref: ${{env.MICROPYTHON_VERSION}}
|
||||||
|
@ -75,7 +75,7 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Compiler Cache
|
- name: Compiler Cache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: /home/runner/.ccache
|
path: /home/runner/.ccache
|
||||||
key: ccache-micropython-${{matrix.name}}-${{github.ref}}-${{github.sha}}
|
key: ccache-micropython-${{matrix.name}}-${{github.ref}}-${{github.sha}}
|
||||||
|
@ -84,7 +84,7 @@ jobs:
|
||||||
ccache-micropython-${{matrix.name}}-
|
ccache-micropython-${{matrix.name}}-
|
||||||
|
|
||||||
- name: Workspace Cache
|
- name: Workspace Cache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: ${{runner.workspace}}
|
path: ${{runner.workspace}}
|
||||||
key: workspace-micropython-${{env.MICROPYTHON_VERSION}}
|
key: workspace-micropython-${{env.MICROPYTHON_VERSION}}
|
||||||
|
@ -96,7 +96,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
sudo apt update && sudo apt install ccache gcc-arm-none-eabi
|
sudo apt update && sudo apt install ccache gcc-arm-none-eabi
|
||||||
|
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
path: pimoroni-pico-${{ github.sha }}
|
path: pimoroni-pico-${{ github.sha }}
|
||||||
|
@ -127,7 +127,7 @@ jobs:
|
||||||
run: cp firmware.uf2 $RELEASE_FILE
|
run: cp firmware.uf2 $RELEASE_FILE
|
||||||
|
|
||||||
- name: Store .uf2 as artifact
|
- name: Store .uf2 as artifact
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: ${{env.RELEASE_FILE}}
|
name: ${{env.RELEASE_FILE}}
|
||||||
path: micropython/ports/rp2/build-${{matrix.board}}/${{env.RELEASE_FILE}}
|
path: micropython/ports/rp2/build-${{matrix.board}}/${{env.RELEASE_FILE}}
|
||||||
|
|
|
@ -9,7 +9,7 @@ jobs:
|
||||||
name: Python Linting
|
name: Python Linting
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Install Python Deps
|
- name: Install Python Deps
|
||||||
run: python3 -m pip install flake8
|
run: python3 -m pip install flake8
|
||||||
|
|
Loading…
Reference in New Issue