summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorĐỗ Trọng Hải <41283691+hainenber@users.noreply.github.com>2023-09-05 22:31:25 +0700
committerGitHub <noreply@github.com>2023-09-05 11:31:25 -0400
commit50cea4e26369b1c5049e8539d6c2bbdac11b3754 (patch)
tree7967bceb6e4bfb88fb59f14ef869324da698ea51
parent1b73e3862d312ac2057265bf2a5fd95760dbe9da (diff)
ci: Run govulncheck (#5790)
* feat(ci): check vuln Go mods in CI * fix(ci): correct directive for govulncheck * refactor(ci): move govulncheck to lint.yml * refactor(lint): move govulncheck to different job
-rw-r--r--.github/workflows/lint.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index ea5e791..f4a9b44 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -50,3 +50,9 @@ jobs:
# Optional: show only new issues if it's a pull request. The default value is `false`.
# only-new-issues: true
+
+ govulncheck:
+ runs-on: ubuntu-latest
+ steps:
+ - name: govulncheck
+ uses: golang/govulncheck-action@v1