Skip to content

Commit

Permalink
Fix CI build and execute it on master branch
Browse files Browse the repository at this point in the history
  • Loading branch information
pellared authored Jun 10, 2020
1 parent e2f5778 commit 983bc0a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: build

on:
push:
branches:
- master
pull_request:
branches:
- '*'
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ release: ## goreleaser --snapshot --skip-publish --rm-dist
diff: ## git diff
$(call print-target)
git diff --exit-code
test -z "`git status --porcelain | tee /dev/tty`"
test -z "`git status --porcelain`" || (git status --porcelain && exit 1)

.PHONY: docker
docker: ## run in golang container, example: make docker run="make all"
Expand Down

0 comments on commit 983bc0a

Please sign in to comment.