aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/rust.yml14
1 files changed, 6 insertions, 8 deletions
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
index 19499632d..7b04a9947 100644
--- a/.github/workflows/rust.yml
+++ b/.github/workflows/rust.yml
@@ -64,6 +64,8 @@ jobs:
64 - package: embassy-stm32l0 64 - package: embassy-stm32l0
65 target: thumbv6m-none-eabi 65 target: thumbv6m-none-eabi
66 features: stm32l0x2,defmt 66 features: stm32l0x2,defmt
67 - package: embassy-rp-examples
68 target: thumbv6m-none-eabi
67 69
68 steps: 70 steps:
69 - uses: actions/checkout@v2 71 - uses: actions/checkout@v2
@@ -79,10 +81,8 @@ jobs:
79 with: 81 with:
80 path: target 82 path: target
81 key: ${{ runner.os }}-${{ matrix.target }} 83 key: ${{ runner.os }}-${{ matrix.target }}
82 - uses: actions-rs/cargo@v1 84 - name: Check
83 with: 85 run: cd ${{ matrix.package }} && cargo check --features=${{ matrix.features }} --target=${{ matrix.target }}
84 command: check
85 args: --package ${{ matrix.package }} --features=${{ matrix.features }} --target=${{ matrix.target }}
86 86
87 fmt: 87 fmt:
88 runs-on: ubuntu-latest 88 runs-on: ubuntu-latest
@@ -93,7 +93,5 @@ jobs:
93 toolchain: nightly 93 toolchain: nightly
94 components: rustfmt 94 components: rustfmt
95 override: true 95 override: true
96 - uses: actions-rs/cargo@v1 96 - name: Check fmt
97 with: 97 run: for i in embassy-*; do (cd $i; cargo fmt -- --check); done
98 command: fmt
99 args: --all -- --check