Skip to content

Merge pull request #9 from Ledger-Donjon/nio/container #13

Merge pull request #9 from Ledger-Donjon/nio/container

Merge pull request #9 from Ledger-Donjon/nio/container #13

Workflow file for this run

name: lint
on:
workflow_dispatch:
pull_request:
push:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
RUSTFLAGS: -Dwarnings
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.3
- name: rustup
run: |
rustup update --no-self-update nightly
rustup component add --toolchain nightly rustfmt clippy
rustup default nightly
- name: fmt
run: cargo fmt --all -- --check
- name: clippy
run: cargo clippy --verbose