build(deps): bump the rust-minor-patch group across 1 directory with 12 updates #706
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: [develop] | |
pull_request: | |
permissions: | |
contents: read | |
jobs: | |
required: | |
runs-on: ubuntu-latest | |
name: test (${{ matrix.toolchain }}) | |
strategy: | |
matrix: | |
toolchain: [stable, beta] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Install ${{ matrix.toolchain }} | |
uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: ${{ matrix.toolchain }} | |
- name: cargo generate-lockfile | |
if: hashFiles('Cargo.lock') == '' | |
run: cargo generate-lockfile | |
- name: Rust Cache | |
uses: Swatinem/rust-cache@v2 | |
- name: cargo test --locked | |
run: cargo test --locked --all-features --all-targets | |
- name: cargo test --doc | |
run: cargo test --locked --all-features --doc |