chore(ci): Output error message to stderr
@@ -24,10 +24,10 @@ jobs:
uses: golangci/golangci-lint-action@v2
- name: Format
- run: if [ "$(gofmt -l . | wc -l)" -gt 0 ]; then exit 1; fi
+ run: if [ "$(gofmt -l . | tee >&2 | wc -l)" -gt 0 ]; then exit 1; fi
- name: Build
run: make build-all
- name: Git Diff
- run: if [ "$(git diff | wc -l)" -gt 0 ]; then exit 1; fi
+ run: if [ "$(git diff | tee >&2 | wc -l)" -gt 0 ]; then exit 1; fi
