Skip to content

ml-kem v0.1.1 (#28) #74

ml-kem v0.1.1 (#28)

ml-kem v0.1.1 (#28) #74

Workflow file for this run

name: Workspace
on:
pull_request:
paths-ignore:
- README.md
push:
branches:
- master
paths-ignore:
- README.md
env:
CARGO_INCREMENTAL: 0
RUSTFLAGS: "-Dwarnings"
RUSTDOCFLAGS: "-Dwarnings"
jobs:
clippy:
runs-on: ubuntu-latest
timeout-minutes: 45
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@beta # TODO: use `1.79` after 2024-06-13
with:
components: clippy
- run: cargo clippy -- -D warnings
# TODO: - run: cargo clippy --all-features --all-targets -- -D warnings
doc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: cargo doc --workspace --all-features --document-private-items
rustfmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
with:
components: rustfmt
- run: cargo fmt --all -- --check