fix: break out linting into seperate steps

This commit is contained in:
trev 2025-04-16 01:46:49 -04:00
parent b98a53eed7
commit beef83e02e
2 changed files with 23 additions and 5 deletions

View File

@ -1,10 +1,8 @@
.env
/docker-compose.*
/result
/.direnv/
/build/
/result/
# Client
/client/node_modules/

View File

@ -29,6 +29,26 @@ jobs:
- name: Install NPM Packages
working-directory: ./client
run: npm ci --legacy-peer-deps
- uses: nicknovitski/nix-develop@v1
- name: Lint
run: nix develop --command trevstack-lint
- run: npx prettier --check .
working-directory: ./client
- run: npx eslint .
working-directory: ./client
- run: npx svelte-check
working-directory: ./client
- run: revive -config revive.toml -set_exit_status ./...
working-directory: ./server
- run: sqlfluff lint
working-directory: ./server
- run: buf lint
- run: nix fmt -- flake.nix --check
- run: nix flake check --all-systems