Skip to content

Add CI, CodeQL and Dependabot - #20

Merged
mumtaz6 merged 1 commit into
masterfrom
ci
Sep 28, 2026
Merged

mumtaz6 merged 1 commit into
masterfrom
ci

Conversation

@mumtaz6

@mumtaz6 mumtaz6 commented Sep 28, 2026

Copy link
Copy Markdown
Contributor

Stacked on #19: its staticcheck step needs #19's fixes. GitHub retargets it to master when #19 merges.

The repo has had no working CI since travis-ci.org shut down. This adds GitHub Actions that run on every pull request and push to master:

  • Test: go vet and go test (engine and server, including the end-to-end tests), with both the minimum Go that go.mod allows and the latest release.
  • staticcheck: correctness checks only (SA*). The style and unused-code findings haven't been worked through, so they aren't enforced.
  • govulncheck: fails on vulnerabilities the code actually reaches. Today it reports none; the 3 known x/crypto advisories are in code that's never called.
  • CodeQL: also runs weekly. Results go to the Security tab.

Dependabot: proposes Go module and GitHub Actions updates weekly, one grouped PR per ecosystem. Newer x/crypto and googleapis/rpc need Go 1.26, so the first Go update will likely raise go.mod's minimum to 1.26 (1.25 is out of support).

Same setup as unit-io/bpool#3, whose run passed.

🤖 Generated with Claude Code

GitHub Actions run, on every pull request and push to master:
- go vet and the tests, with the minimum Go go.mod allows and the latest;
- staticcheck's correctness checks;
- govulncheck, which fails on vulnerabilities the code reaches;
- CodeQL, also weekly.

Dependabot proposes Go module and action updates weekly, each ecosystem
in one pull request.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@mumtaz6
mumtaz6 changed the base branch from replace-deprecated-apis to master September 28, 2026 17:14
@mumtaz6
mumtaz6 merged commit 27e0139 into master Sep 28, 2026
6 checks passed
@mumtaz6
mumtaz6 deleted the ci branch September 28, 2026 17:15
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.

2 participants