Update rp-pico requirement from 0.7 to 0.9 in /examples/rp2040 #18
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [push, pull_request] | |
name: Examples RP2040 build | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
check_format_build: | |
name: Examples - Check, Format, Build | |
runs-on: ubuntu-latest | |
steps: | |
#Checkout source | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
#toolchain and tools | |
- name: Install stable toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
target: thumbv6m-none-eabi | |
components: rustfmt, clippy | |
- name: Install flip-link linker | |
run: cargo install flip-link | |
#build and lint | |
- name: Run cargo check - examples rp2040 | |
working-directory: ./examples/rp2040/ | |
run: cargo check | |
- name: Run cargo fmt - examples rp2040 | |
working-directory: ./examples/rp2040/ | |
run: cargo fmt --all -- --check | |
- name: Run cargo clippy - examples rp2040 | |
working-directory: ./examples/rp2040/ | |
run: cargo clippy -- -D warnings | |
- name: Run cargo build - examples rp2040 | |
working-directory: ./examples/rp2040/ | |
run: cargo build |