Set rust-version to 1.82.0 (for use<..>
syntax)
#108
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: CI | |
on: [push] | |
jobs: | |
check: | |
name: Check | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
toolchain: [stable, beta, nightly] | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
- run: rustup update ${{ matrix.toolchain }} | |
- run: cargo check --all-features --all | |
test: | |
name: Test Suite | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
toolchain: [stable, beta, nightly] | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
- run: rustup update ${{ matrix.toolchain }} | |
- run: cargo test --all-features --all | |
lints: | |
name: Lints | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
toolchain: [stable, beta, nightly] | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
- run: rustup update ${{ matrix.toolchain }} | |
- run: cargo fmt --all -- --check | |
- run: cargo clippy --all-features --all -- -D warnings |