From e06bcae920ca94dcc6be9a8d8a778064daef1053 Mon Sep 17 00:00:00 2001 From: polazarus Date: Wed, 16 Aug 2023 20:31:10 +0200 Subject: [PATCH] build: add ci test and nono check --- .github/workflows/basic.yml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/.github/workflows/basic.yml b/.github/workflows/basic.yml index c3aa4eb..1e4be94 100644 --- a/.github/workflows/basic.yml +++ b/.github/workflows/basic.yml @@ -25,6 +25,7 @@ jobs: - macos-latest features: - "" + - "--no-default-features" - "--all-features" runs-on: ${{matrix.os}} @@ -110,4 +111,20 @@ jobs: - uses: taiki-e/install-action@cargo-minimal-versions - name: Check with minimal versions - run: cargo minimal-versions check \ No newline at end of file + run: cargo minimal-versions check + + no_std: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + + - uses: dtolnay/rust-toolchain@stable + + - uses: taiki-e/install-action@cargo-binstall + + - name: Install cargo-nono + run: cargo binstall -y cargo-nono + + - name: Check no_std compatibility + run: cargo nono \ No newline at end of file