mirror of
https://github.com/RustCrypto/signatures
synced 2026-06-21 13:45:42 +00:00
41 lines
811 B
YAML
41 lines
811 B
YAML
name: Workspace
|
|
on:
|
|
pull_request:
|
|
paths-ignore:
|
|
- README.md
|
|
push:
|
|
branches: master
|
|
paths-ignore:
|
|
- README.md
|
|
|
|
env:
|
|
CARGO_INCREMENTAL: 0
|
|
RUSTFLAGS: "-Dwarnings"
|
|
|
|
jobs:
|
|
rustfmt:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: dtolnay/rust-toolchain@master
|
|
with:
|
|
toolchain: stable
|
|
components: rustfmt
|
|
- run: cargo fmt --all -- --check
|
|
|
|
clippy:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: dtolnay/rust-toolchain@master
|
|
with:
|
|
toolchain: 1.85.0
|
|
components: clippy
|
|
- run: cargo clippy --all-features -- -D warnings
|
|
|
|
typos:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: crate-ci/typos@v1.33.1
|