v0.4.8 #68
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: Rust | |
| on: [push, pull_request, workflow_dispatch] | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| build-default-features: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 5 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: build | |
| run: cargo build --verbose | |
| build-no-features: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 5 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: build --no-default-features | |
| run: cargo build --no-default-features --verbose | |
| build-all-features: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 5 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: build --all-features | |
| run: cargo build --all-features --verbose | |
| test: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 5 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: test | |
| run: cargo test --all-features --verbose --no-fail-fast | |
| test-release: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 5 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: test --release | |
| run: cargo test --release --all-features --verbose --no-fail-fast | |
| miri: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 20 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: install miri | |
| run: rustup +nightly component add miri | |
| - name: miri test | |
| run: cargo +nightly miri test --all-features --verbose --no-fail-fast | |
| clippy: | |
| runs-on: ubuntu-latest | |
| continue-on-error: true | |
| timeout-minutes: 5 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: clippy | |
| run: cargo clippy --all-features -- -Dwarnings | |
| rustfmt: | |
| runs-on: ubuntu-latest | |
| continue-on-error: true | |
| timeout-minutes: 5 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: rustfmt | |
| run: cargo fmt --check | |
| package: | |
| runs-on: ubuntu-latest | |
| continue-on-error: true | |
| timeout-minutes: 5 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: package --list | |
| run: cargo package --list -p slimvec | |
| - name: package | |
| run: cargo package -p slimvec | |
| - name: publish --dry-run | |
| run: cargo publish --dry-run -p slimvec |