Simplify cleanup and ignoring of generated go files
This commit is contained in:
2
.github/workflows/ci.py
vendored
2
.github/workflows/ci.py
vendored
@@ -131,7 +131,7 @@ def main():
|
||||
elif action == 'test':
|
||||
test_kitty()
|
||||
elif action == 'gofmt':
|
||||
q = subprocess.check_output('gofmt -s -l tools version.go'.split())
|
||||
q = subprocess.check_output('gofmt -s -l tools'.split())
|
||||
if q.strip():
|
||||
print(q.decode())
|
||||
raise SystemExit(1)
|
||||
|
||||
Reference in New Issue
Block a user