Skip to content

Commit

Permalink
ci: run nixfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
izumin5210 committed May 19, 2024
1 parent bb840b3 commit 643e717
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ jobs:
- name: sh
cmd: |
shfmt -i 2 -d bin config/{.bin,.config/zsh} install
- name: nix
cmd: |
curl -sfL -o nixfmt https://github.com/NixOS/nixfmt/releases/download/v0.6.0/nixfmt-x86_64-linux
chmod +x ./nixfmt
./nixfmt .
git diff --exit-code
name: format-${{ matrix.name }}
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 643e717

Please sign in to comment.