Nostalgaia-Save-Editor/.forgejo/workflows/lint.yml
Tom Bloor 57cd19ded7
All checks were successful
/ lint (push) Successful in 2m29s
cargo clippy command
2024-04-01 20:15:04 +01:00

14 lines
388 B
YAML

on: [push]
jobs:
lint:
runs-on: docker
container:
image: rust:1.74
steps:
# no nodejs installed in rust by default
- run: apt update && apt install -y nodejs
- uses: https://code.forgejo.org/actions/checkout@v3
- run: rustup component add rustfmt clippy
- run: cargo fmt --all --check --verbose
- run: cargo clippy --all --verbose