Browse Source

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.
ᴜɴᴋɴᴡᴏɴ 4 years ago
parent
commit
bb93cabd39
1 changed files with 3 additions and 0 deletions
  1. 3 0
      .github/workflows/go.yml

+ 3 - 0
.github/workflows/go.yml

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