mirror of
https://github.com/soypat/lneto.git
synced 2026-08-08 00:43:40 +00:00
* persist issue 57 fix in test * have go fix output error on CI * apply go fix required fix * test no || for go fix command * test no || for go fix command complete, it is needed * forgot to fix
This commit is contained in:
@@ -35,7 +35,7 @@ jobs:
|
||||
|
||||
- name: go fix
|
||||
run: |
|
||||
diff=$(go fix -diff ./...)
|
||||
diff=$(go fix -diff ./... 2>&1) || true
|
||||
if [ -n "$diff" ]; then
|
||||
echo "$diff"
|
||||
echo "::error::Files need go tool fix. Run: go tool fix ./..."
|
||||
|
||||
Reference in New Issue
Block a user