chore(deps): Update Rust crate ordered-float to v5.1.0 - autoclosed #131
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
| name: CI | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| check: | |
| name: Lints and checks | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - run: rustup toolchain install stable --profile minimal --component rustfmt --component clippy --no-self-update | |
| - run: rustup target add wasm32v1-none | |
| - uses: Swatinem/rust-cache@v2 | |
| - name: Run clippy checks | |
| run: cargo clippy --all-targets -- -D warnings | |
| - name: Run format checks | |
| run: cargo fmt --check | |
| - name: Check `no_std` compatibility | |
| run: cargo check -p saphyr --no-default-features --target wasm32v1-none | |
| test: | |
| name: Test using Rust ${{ matrix.rust }} on ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, macos-latest] | |
| rust: [stable] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - run: rustup toolchain install ${{ matrix.rust }} --profile minimal --no-self-update | |
| - uses: Swatinem/rust-cache@v2 | |
| - name: Run build | |
| run: cargo build | |
| - name: Run tests | |
| run: cargo test -v |