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.
pull/6303/head
ᴜɴᴋɴᴡᴏɴ 2020-09-04 03:13:59 +08:00 committed by GitHub
parent c4360747a3
commit bb93cabd39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

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