Skip to content

Commit

Permalink
chore: add CI job for checking no-std
Browse files Browse the repository at this point in the history
Signed-off-by: Eliza Weisman <[email protected]>
  • Loading branch information
hawkw committed Apr 11, 2022
1 parent 5b9ac99 commit 73a116c
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,22 @@ env:

name: Tests
jobs:
build_no_std:
name: cargo check (no-std)
runs_on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
components: rustfmt
uses: actions-rs/cargo@v1
with:
command: check
args: --no-default-features --features alloc

tests:
name: Tests
Expand Down

0 comments on commit 73a116c

Please sign in to comment.