Skip to content

🎧 Your Personal Streaming Service

Show help message when goimports/go mod tidy breaks the build

Deluanfeabcdfe9fe2
diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml
index 655c12807..444a30e42 100644
--- a/.github/workflows/pipeline.yml
+++ b/.github/workflows/pipeline.yml
@@ -39,6 +39,7 @@ jobs:
run: |
git status --porcelain
if [ -n "$(git status --porcelain)" ]; then
+ echo 'To fix this check, run "goimports -w $(find . -name '*.go' | grep -v '_gen.go$') && go mod tidy"'
exit 1
fi