Files
frid/.github/workflows/ci.yml
T
Ultradesu 34f120036f
CI / check (push) Successful in 2m16s
prepared release
2026-07-26 03:51:15 +03:00

27 lines
575 B
YAML

name: CI
on:
push:
pull_request:
permissions:
contents: read
env:
CARGO_TERM_COLOR: always
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: "1.97"
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
- run: cargo fmt --all -- --check
- run: cargo check --workspace --all-targets --all-features
- run: cargo clippy --workspace --all-targets --all-features -- -D warnings
- run: cargo test --workspace