We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2f5778 commit 983bc0aCopy full SHA for 983bc0a
.github/workflows/build.yml
@@ -1,6 +1,9 @@
1
name: build
2
3
on:
4
+ push:
5
+ branches:
6
+ - master
7
pull_request:
8
branches:
9
- '*'
Makefile
@@ -65,7 +65,7 @@ release: ## goreleaser --snapshot --skip-publish --rm-dist
65
diff: ## git diff
66
$(call print-target)
67
git diff --exit-code
68
- test -z "`git status --porcelain | tee /dev/tty`"
+ test -z "`git status --porcelain`" || (git status --porcelain && exit 1)
69
70
.PHONY: docker
71
docker: ## run in golang container, example: make docker run="make all"
0 commit comments