浏览代码

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 年之前
父节点
当前提交
bb93cabd39
共有 1 个文件被更改,包括 3 次插入0 次删除
  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"