Bump version for release #31
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
# This file was generated by [xtask-base](https://github.com/simon-bourne/rust-xtask-base). | |
# Please do not edit! | |
name: tests | |
on: | |
push: | |
pull_request: | |
jobs: | |
tests-ubuntu-latest: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ructions/toolchain@v2 | |
with: | |
toolchain: 1.73 | |
profile: minimal | |
default: true | |
components: clippy | |
- uses: Swatinem/rust-cache@v2 | |
- run: cargo xtask codegen --check | |
- run: cargo clippy --all-targets -- -D warnings -D clippy::all | |
- run: cargo test | |
- run: cargo build --all-targets | |
- run: cargo doc | |
tests-macos-latest: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ructions/toolchain@v2 | |
with: | |
toolchain: 1.73 | |
profile: minimal | |
default: true | |
components: clippy | |
- uses: Swatinem/rust-cache@v2 | |
- run: cargo xtask codegen --check | |
- run: cargo clippy --all-targets -- -D warnings -D clippy::all | |
- run: cargo test | |
- run: cargo build --all-targets | |
- run: cargo doc | |
tests-windows-latest: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ructions/toolchain@v2 | |
with: | |
toolchain: 1.73 | |
profile: minimal | |
default: true | |
components: clippy | |
- uses: Swatinem/rust-cache@v2 | |
- run: cargo xtask codegen --check | |
- run: cargo clippy --all-targets -- -D warnings -D clippy::all | |
- run: cargo test | |
- run: cargo build --all-targets | |
- run: cargo doc | |
release-tests-ubuntu-latest: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ructions/toolchain@v2 | |
with: | |
toolchain: 1.73 | |
profile: minimal | |
default: true | |
- uses: Swatinem/rust-cache@v2 | |
- run: cargo test --benches --tests --release | |
release-tests-macos-latest: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ructions/toolchain@v2 | |
with: | |
toolchain: 1.73 | |
profile: minimal | |
default: true | |
- uses: Swatinem/rust-cache@v2 | |
- run: cargo test --benches --tests --release | |
release-tests-windows-latest: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ructions/toolchain@v2 | |
with: | |
toolchain: 1.73 | |
profile: minimal | |
default: true | |
- uses: Swatinem/rust-cache@v2 | |
- run: cargo test --benches --tests --release | |
lints-ubuntu-latest: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ructions/toolchain@v2 | |
with: | |
toolchain: nightly-2023-10-14 | |
profile: minimal | |
default: true | |
components: rustfmt | |
- uses: Swatinem/rust-cache@v2 | |
- run: cargo fmt --all -- --check | |
- run: cargo install cargo-udeps --locked --version 0.1.43 | |
- run: cargo udeps --all-targets |