Bump actions/cache from 4 to 5 #2227
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: Library | |
| on: [pull_request] | |
| env: | |
| RUST_BACKTRACE: 1 | |
| jobs: | |
| library: | |
| if: ${{ false }} | |
| name: library | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Rust | |
| uses: actions-rs/toolchain@v1 | |
| with: | |
| components: clippy | |
| - name: Install cargo make | |
| run: cargo install cargo-make | |
| - name: Install webassembly target | |
| run: rustup target add wasm32-unknown-unknown | |
| - name: Check webassembly | |
| run: cargo make check-wasm | |
| - name: Check cargo fmt | |
| run: cargo make format-check | |
| - name: Check cargo clippy | |
| run: cargo make clippy | |
| - name: Run tests | |
| run: cargo make test |