Skip to content

ci: add PR checks and build releases with the latest Go patch - #37

Merged
relloyd merged 3 commits into
mainfrom
ci/pr-checks
Nov 8, 2026
Merged

relloyd merged 3 commits into
mainfrom
ci/pr-checks

Conversation

@relloyd

@relloyd relloyd commented Nov 8, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Taskfile: adds the targets shared with services, tt and adguard-dns-analyzer: fmt-check, tidy-check, vuln (govulncheck pinned at v1.9.0), ci, and lint, which now accepts extra args after --.
  • .github/workflows/pr-checks.yaml: runs task ci, then golangci-lint, which fails only on new issues. Triggers are PRs, pushes to main, on demand, and a weekly govulncheck-only schedule. The job is named "PR checks", the same required check name as in the other repos. Minutes are free here because the repo is public.
  • release.yml: the test step now runs task ci instead of inline go vet/go test. It also builds with the latest Go 1.27 patch release instead of the exact go.mod version, because a released binary keeps the standard library it was built with. On the current go.mod toolchain (go1.26.0), govulncheck reports GO-2026-4602 in os and GO-2026-4601 in net/url (both fixed in go1.26.1).

After merging

This PR is ci:, so merging it releases nothing. To ship a binary built with the patched toolchain, run the release workflow by hand with bump: patch.

Testing

  • task ci passes locally on Go 1.27.3, and govulncheck reports "No vulnerabilities found".

Dependabot

Adds .github/dependabot.yml (the same file in every repo): weekly, grouped version updates for GitHub Actions (ci: prefix) and Go modules (fix(deps): prefix). Security updates and alerts are a repo setting: Settings → Code security.

🤖 Generated with Claude Code

relloyd and others added 3 commits November 8, 2026 13:43
Add the task targets shared with the other repos (fmt-check, tidy-check,
vuln, ci, and lint with extra args) and a PR checks workflow that runs
task ci and golangci-lint (new issues only) on PRs, pushes to main and
on demand, with a weekly govulncheck-only scheduled run.

release.yml now runs task ci, and builds with the latest Go 1.27 patch
release instead of the exact go.mod version: a released binary keeps the
standard library it was built with, and the go.mod version has
govulncheck findings in the standard library that later patches fix.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@relloyd
relloyd merged commit e671a95 into main Nov 8, 2026
2 checks passed
@relloyd
relloyd deleted the ci/pr-checks branch November 8, 2026 15:08
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