mirror of
https://github.com/Icinga/icingadb.git
synced 2026-05-28 04:35:54 -04:00
GitHub actions: show what exactly is not well formatted
This commit is contained in:
parent
b2b3f2a998
commit
0c160d2b94
1 changed files with 2 additions and 2 deletions
4
.github/workflows/go.yml
vendored
4
.github/workflows/go.yml
vendored
|
|
@ -58,8 +58,8 @@ jobs:
|
|||
with:
|
||||
go-version: 1.16.x
|
||||
|
||||
- name: Run gofmt -s -l .
|
||||
- name: Run gofmt -s -d .
|
||||
run: |
|
||||
fmtvar="$(gofmt -s -l .)"
|
||||
fmtvar="$(gofmt -s -d .)"
|
||||
echo "$fmtvar"
|
||||
test -z "$fmtvar"
|
||||
|
|
|
|||
Loading…
Reference in a new issue