Set up a linting task

This commit is contained in:
Savanni D'Gerinel 2025-04-08 22:05:00 -04:00
parent 6a51ca7991
commit 60fa2a4016
2 changed files with 9 additions and 3 deletions
.gitea/workflows
Taskfile.yml

View File

@ -24,8 +24,10 @@ jobs:
steps:
- name: Checkout repository code
uses: actions/checkout@v4
- name: Where am I?
run: pwd
- name: Run linter
run: |
/run/current-system/sw/bin/nix --extra-experimental-features "nix-command flakes" develop
task lint
- name: Build the apps
run: /run/current-system/sw/bin/nix --extra-experimental-features "nix-command flakes" build .#all
- name: Check the end of the build

View File

@ -13,4 +13,8 @@ tasks:
lint:
cmds:
- cargo watch -x clippy
- cargo clippy
test:
cmds:
- cargo test