Parse tests nanosecond bare dot (branch 0.4.x) #1726
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: lint | |
on: | |
push: | |
branches: [main, 0.4.x] | |
pull_request: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dtolnay/rust-toolchain@stable | |
with: | |
targets: x86_64-unknown-linux-gnu, x86_64-pc-windows-msvc | |
- uses: Swatinem/rust-cache@v2 | |
- run: cargo fmt --check -- --color=always | |
- run: cargo fmt --check --manifest-path fuzz/Cargo.toml | |
- run: cargo clippy --color=always -- -D warnings | |
- run: cargo clippy --color=always --target x86_64-pc-windows-msvc -- -D warnings | |
- run: cargo clippy --manifest-path fuzz/Cargo.toml --color=always -- -D warnings | |
env: | |
RUSTFLAGS: "-Dwarnings" | |
cargo-deny: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: EmbarkStudios/cargo-deny-action@v1 | |
check-doc: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dtolnay/rust-toolchain@stable | |
- run: cargo install cargo-deadlinks | |
- run: RUSTFLAGS="--cfg docsrs" cargo deadlinks -- --features=serde | |
- run: cargo doc --all-features --no-deps | |
env: | |
RUSTDOCFLAGS: -Dwarnings |