Nostalgaia-Save-Editor/.forgejo/workflows/lint.yml
Tom Bloor 0e8056c1d2
Some checks failed
/ lint (push) Failing after 24s
add lint workflow
2024-04-01 20:12:16 +01:00

14 lines
396 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 --check --verbose