nix: install prettier, also ignore zig-cache/out

This commit is contained in:
Mitchell Hashimoto
2023-09-28 15:07:36 -07:00
parent a0a8901d8b
commit 779611c04b
4 changed files with 16 additions and 8 deletions

View File

@@ -101,6 +101,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4 # Check out repo so we can lint it
- uses: actionsx/prettier@v3
- uses: cachix/install-nix-action@v23
with:
args: --check .
nix_path: nixpkgs=channel:nixos-unstable
- name: prettier check
run: nix develop -c prettier --check .