diff --git a/.github/workflows/simba-ci-build.yml b/.github/workflows/simba-ci-build.yml index 57ca15b..3fe1822 100644 --- a/.github/workflows/simba-ci-build.yml +++ b/.github/workflows/simba-ci-build.yml @@ -22,16 +22,25 @@ jobs: RUSTFLAGS: -D warnings steps: - uses: actions/checkout@v2 + - name: Install latest nightly + uses: actions-rs/toolchain@v1 + with: + toolchain: nightly + override: true + components: clippy - name: Check formatting - run: | - rustup install nightly - cargo +nightly clippy --all-features + run: cargo clippy --all-features build-native: runs-on: ubuntu-latest env: RUSTFLAGS: -D warnings steps: - uses: actions/checkout@v2 + - name: Install latest nightly + uses: actions-rs/toolchain@v1 + with: + toolchain: nightly + override: false - name: Build --no-default-feature run: cargo build --no-default-features; - name: Build libm only @@ -41,9 +50,7 @@ jobs: - name: Build all features except libm run: cargo build --features wide,rkyv-serialize,serde_serialize,partial_fixed_point_support; - name: Build all features - run: | - rustup install nightly - cargo +nightly build --all-features + run: cargo +nightly build --all-features build-wasm: runs-on: ubuntu-latest steps: