Remove check-fmt script

This commit is contained in:
adisbladis 2022-05-29 03:23:13 +08:00
parent 1df6a97829
commit 2f6cbe69cb
2 changed files with 1 additions and 11 deletions

View file

@ -17,7 +17,7 @@ jobs:
- uses: cachix/install-nix-action@v12 - uses: cachix/install-nix-action@v12
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- name: Check format - name: Check format
run: ./check-fmt run: nix-shell --run 'nixpkgs-fmt --check .'
build: build:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}

View file

@ -1,10 +0,0 @@
#!/usr/bin/env nix-shell
#!nix-shell ./shell.nix -i bash
#
# Just because the nixpkgs-fmt error message is not super readable. Used by
# CI.
if ! nixpkgs-fmt --check . ; then
echo 'run `nixpkgs-fmt .` to fix it'
exit 1
fi