Merge pull request #550 from rust-embedded/clippy-workflow #802
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: | |
branches-ignore: | |
- "gh-readonly-queue/**" | |
pull_request: | |
merge_group: | |
workflow_dispatch: | |
name: cortex-m CI | |
jobs: | |
ci-linux: | |
runs-on: ubuntu-latest | |
continue-on-error: ${{ matrix.experimental || false }} | |
strategy: | |
matrix: | |
# All generated code should be running on stable now | |
rust: [stable] | |
include: | |
# Test MSRV | |
- rust: 1.61.0 | |
# Test nightly but don't fail | |
- rust: nightly | |
experimental: true | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: ${{ matrix.rust }} | |
- name: Run tests | |
run: cargo test --all --exclude cortex-m-rt --exclude testsuite --features cortex-m/critical-section-single-core |