Skip to content

build: install govulncheck via official action, drop tools module - #1580

Merged
justinhwang merged 1 commit into
masterfrom
justinhwang/vuln
Aug 31, 2026
Merged

build: install govulncheck via official action, drop tools module#1580
justinhwang merged 1 commit into
masterfrom
justinhwang/vuln

Conversation

@justinhwang

Copy link
Copy Markdown
Contributor

Removes the manual govulncheck installation from the Makefile and uses golang/govulncheck-action to provide the binary in CI instead, mirroring how golangci-lint is handled: the action only downloads, and make lint runs the scan. vulncheck is now a prerequisite of lint, so the separate CI step is gone.

The action has no install-only mode, so go-package: -version is used to make its run step a no-op, the same trick as args: --help for golangci-lint.

make vulncheck installs govulncheck itself if it isn't already on PATH, so it works on a clean checkout without a bootstrap step. The check is on PATH rather than a file in GOBIN so CI reuses the copy the action installed.

Removes the manual govulncheck installation from the Makefile and uses
golang/govulncheck-action to provide the binary in CI instead, mirroring
how golangci-lint is handled: the action only downloads, and `make lint`
runs the scan. vulncheck is now a prerequisite of lint, so the separate
CI step is gone.

The action has no install-only mode, so `go-package: -version` is used to
make its run step a no-op, the same trick as `args: --help` for
golangci-lint.

`make vulncheck` installs govulncheck itself if it isn't already on PATH,
so it works on a clean checkout without a bootstrap step. The check is on
PATH rather than a file in GOBIN so CI reuses the copy the action installed.
@justinhwang
justinhwang requested a review from moisesvega August 31, 2026 16:50
@codecov

codecov Bot commented Aug 31, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.85%. Comparing base (bbd4ecb) to head (267f1c7).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1580   +/-   ##
=======================================
  Coverage   98.85%   98.85%           
=======================================
  Files          53       53           
  Lines        3047     3047           
=======================================
  Hits         3012     3012           
  Misses         35       35           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@justinhwang
justinhwang merged commit 5bef107 into master Aug 31, 2026
8 checks passed
@justinhwang
justinhwang deleted the justinhwang/vuln branch August 31, 2026 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants