Bump dtolnay/rust-toolchain from 3c5f7ea28cd621ae0bf5283f0e981fb97b8a7af9 to fa04a1451ff1842e2626ccb99004d0195b455a88 #65
This file contains hidden or 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
| # This workflow checks whether the library is able to run without the std library (e.g., embedded). | |
| # This entire file should be removed if this crate does not support no-std. See check.yml for | |
| # information about how the concurrency cancellation and workflow triggering works | |
| permissions: | |
| contents: read | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| name: no-std | |
| jobs: | |
| nostd: | |
| runs-on: ubuntu-latest | |
| name: ${{ matrix.target }} | |
| strategy: | |
| matrix: | |
| target: [thumbv7m-none-eabi, aarch64-unknown-none] | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # tag=v6.0.2 | |
| with: | |
| submodules: true | |
| - name: Install stable | |
| uses: dtolnay/rust-toolchain@fa04a1451ff1842e2626ccb99004d0195b455a88 # branch=master | |
| with: | |
| toolchain: stable | |
| - name: rustup target add ${{ matrix.target }} | |
| run: rustup target add ${{ matrix.target }} | |
| - name: cargo check | |
| run: cargo check --target ${{ matrix.target }} --no-default-features --features libm |