feat(docs/README): add no_std feature #4
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: [push, pull_request] | |
| jobs: | |
| test: | |
| name: Tests | |
| runs-on: ubuntu-latest | |
| container: | |
| image: registry.gitlab.com/xangelix-pub/containers/arch:latest | |
| options: --user root # How I wish this were GitLab | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install Rust | |
| run: curl https://gitlab.com/xangelix-pub/init/-/raw/main/os/arch/rust.sh | sh | |
| - name: Select stable Rust toolchain | |
| run: rustup default stable | |
| - name: Cache dependencies | |
| uses: swatinem/rust-cache@v2 | |
| - name: Check formatting | |
| run: cargo fmt --all -- --check | |
| - name: Run tests (no default features) | |
| run: cargo test --no-default-features | |
| - name: Run tests | |
| run: cargo test |