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.
This commit is contained in:
ᴜɴᴋɴᴡᴏɴ
2020-09-04 03:13:59 +08:00
committed by GitHub
parent c4360747a3
commit bb93cabd39

View File

@@ -3,6 +3,9 @@ on:
push:
paths:
- '**.go'
pull_request:
paths:
- '**.go'
env:
GOPROXY: "https://proxy.golang.org"