Run gofmt via python, easier to debug

This commit is contained in:
Kovid Goyal
2022-08-16 14:47:27 +05:30
parent 4b69a600e5
commit 1429be3a19
2 changed files with 6 additions and 1 deletions

View File

@@ -95,7 +95,7 @@ jobs:
run: python -m flake8 --count .
- name: Run gofmt
run: sh -c 'unformatted=$(gofmt -s -l tools version.go); [ -z "$unformatted" ] || { echo "$unformatted"; exit 1 }'
run: python .github/workflows/ci.py gofmt
- name: Build kitty package
run: python .github/workflows/ci.py package