aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorᴜɴᴋɴᴡᴏɴ <u@gogs.io>2020-09-04 03:13:59 +0800
committerGitHub <noreply@github.com>2020-09-04 03:13:59 +0800
commitbb93cabd39f53f5a3d7a34545a24ac0fa4155f42 (patch)
tree6de539297024b8605f5bd6d12360d4815c5d8d83 /.github
parentc4360747a3bdd0d5a5a673bfcdee05f9d911ba1e (diff)
ci: re-run Go checks for every push on a pull request
If a pull request has changed any Go file, even if the new push doesn't change any, we should re-run Go checks to make GitHub Checks look consistent.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/go.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml
index 5cc9de2d..d906ec1e 100644
--- a/.github/workflows/go.yml
+++ b/.github/workflows/go.yml
@@ -3,6 +3,9 @@ on:
push:
paths:
- '**.go'
+ pull_request:
+ paths:
+ - '**.go'
env:
GOPROXY: "https://proxy.golang.org"