Skip to content

Merge pull request #12 from acompany-develop/dependabot/cargo/time-0.… #47

Merge pull request #12 from acompany-develop/dependabot/cargo/time-0.…

Merge pull request #12 from acompany-develop/dependabot/cargo/time-0.… #47

Workflow file for this run

name: Lint
on:
pull_request:
push:
permissions:
contents: read
jobs:
fmt:
name: rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable
components: rustfmt
- run: cargo fmt --all -- --check
clippy:
name: clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable
components: clippy
- run: cargo clippy --workspace --all-targets --all-features -- -D warnings