parent
2c8c77c97b
commit
0e8056c1d2
1 changed files with 14 additions and 0 deletions
14
.forgejo/workflows/lint.yml
Normal file
14
.forgejo/workflows/lint.yml
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
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
|
||||
Loading…
Add table
Reference in a new issue