Skip to content

style: Rust 1.72でrustfmt #21

style: Rust 1.72でrustfmt

style: Rust 1.72でrustfmt #21

Workflow file for this run

name: ci
env:
rust_stable: stable
rust_min: 1.66.0
RUSTFLAGS: -Dwarnings
on: [push, pull_request]
jobs:
test:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ env.rust_stable }}
- uses: Swatinem/rust-cache@v2
- run: cargo test --workspace
minrust:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ env.rust_min }}
- uses: Swatinem/rust-cache@v2
- run: cargo check -p isdb --all-features
env:
RUSTFLAGS: "" # remove -Dwarnings
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ env.rust_stable }}
- uses: Swatinem/rust-cache@v2
- run: cargo build -p tavoo