Skip to content

Commit

Permalink
ci: make treefmt faster
Browse files Browse the repository at this point in the history
  • Loading branch information
nrdxp committed Sep 26, 2024
1 parent 4c4f2f8 commit 627f4aa
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,24 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: nixbuild/nix-quick-install-action@v28
- name: Code Format Check
run: eval "$(nix print-dev-env -f shell.nix)" && treefmt --fail-on-change
- uses: jaxxstorm/[email protected]
with:
repo: numtide/treefmt
- uses: jaxxstorm/[email protected]
with:
repo: nixos/nixfmt
extension-matching: disable
rename-to: nixfmt
- uses: jaxxstorm/[email protected]
with:
repo: mvdan/sh
- uses: jaxxstorm/[email protected]
with:
repo: tamasfe/taplo
- uses: jaxxstorm/[email protected]
with:
repo: prettier/prettier
- run: treefmt --fail-on-change
std-config:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 627f4aa

Please sign in to comment.