add Vec::retain_mut #80
This file contains 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: Test | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
# Check all PR | |
jobs: | |
tests: | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
rust-version: ["1.63", stable, beta, nightly] | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: setup rust | |
uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: ${{ matrix.rust-version }} | |
- name: run tests in debug mode | |
run: cargo test | |
- name: run tests in release mode | |
run: cargo test --release | |
- name: check that benchmarks still compile | |
run: cargo bench --no-run |