Commit 6caba97
authored
🤖 ci: remove duplicate Go version input in govulncheck action (#20)
## Summary
Fix the CI `govulncheck` step to use a single Go version input and
remove the duplicate-version warning in workflow annotations.
## Background
`golang/govulncheck-action` internally invokes `actions/setup-go` with
`go-version` (`go-version-input`).
Providing `go-version-file` at the same time caused setup-go to emit:
"Both go-version and go-version-file inputs are specified, only
go-version will be used."
## Implementation
- Updated `.github/workflows/ci.yaml` in the `lint` job's `Run
govulncheck` step:
- replaced `go-version-file: go.mod`
- with `go-version-input: 1.25.7`
- Left all other setup-go steps unchanged.
## Validation
- `make verify-vendor`
- `make test`
- `make build`
- `make lint`
- `go run github.com/rhysd/actionlint/cmd/actionlint@v1.7.10`
## Risks
Low risk. The change is limited to workflow configuration for a single
action input and aligns the configured Go version with `go.mod`.
---
_Generated with `mux` • Model: `openai:gpt-5.3-codex` • Thinking:
`xhigh` • Cost: `$0.09`_
<!-- mux-attribution: model=openai:gpt-5.3-codex thinking=xhigh
costs=0.09 -->1 parent 4a7e191 commit 6caba97
1 file changed
Lines changed: 15 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
101 | 115 | | |
102 | 116 | | |
103 | 117 | | |
104 | | - | |
| 118 | + | |
105 | 119 | | |
106 | 120 | | |
107 | 121 | | |
| |||
0 commit comments