Skip to content

🤖 ci: remove duplicate Go version input in govulncheck action#20

Merged
ThomasK33 merged 1 commit into
mainfrom
ci-github-he70
Feb 10, 2026
Merged

🤖 ci: remove duplicate Go version input in govulncheck action#20
ThomasK33 merged 1 commit into
mainfrom
ci-github-he70

Conversation

@ThomasK33

Copy link
Copy Markdown
Member

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

@ThomasK33

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7b002a328e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .github/workflows/ci.yaml Outdated
@ThomasK33

Copy link
Copy Markdown
Member Author

@codex review

Please take another look.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Delightful!

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Use `go-version-input` for `golang/govulncheck-action` instead of
`go-version-file` to avoid setup-go warnings about both version input
modes being set.

---

_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 -->
@ThomasK33

Copy link
Copy Markdown
Member Author

@codex review

Added an inline YAML comment explaining why go.mod is parsed before govulncheck.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Swish!

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@ThomasK33 ThomasK33 added this pull request to the merge queue Feb 10, 2026
@ThomasK33

Copy link
Copy Markdown
Member Author

Merged via the queue into main with commit 6caba97 Feb 10, 2026
7 checks passed
@ThomasK33 ThomasK33 deleted the ci-github-he70 branch February 10, 2026 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant