Skip to content

Changed rust version to v1.70.0 and dependencies #212

Changed rust version to v1.70.0 and dependencies

Changed rust version to v1.70.0 and dependencies #212

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
test:
runs-on: windows-latest
strategy:
matrix:
rust: [stable, 1.65.0]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
- run: cargo test --all-targets
docs:
runs-on: windows-latest
env:
RUSTDOCFLAGS: -Dwarnings
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: rust-docs
- run: cargo doc --workspace --no-deps
rustfmt:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt
- run: cargo fmt --all -- --check
clippy:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
- run: cargo clippy --all-targets -- -D warnings