mirror of
https://github.com/tweag/gomod2nix.git
synced 2024-11-09 12:09:08 +00:00
Remove check-fmt script
This commit is contained in:
parent
1df6a97829
commit
2f6cbe69cb
2 changed files with 1 additions and 11 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -17,7 +17,7 @@ jobs:
|
|||
- uses: cachix/install-nix-action@v12
|
||||
- uses: actions/checkout@v1
|
||||
- name: Check format
|
||||
run: ./check-fmt
|
||||
run: nix-shell --run 'nixpkgs-fmt --check .'
|
||||
|
||||
build:
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
|
10
check-fmt
10
check-fmt
|
@ -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
|
Loading…
Reference in a new issue