ci: run lint, test, and build on PRs#63
Merged
Merged
Conversation
Ensures Dependabot (and human) PRs can't be merged until gofmt, golangci-lint, `go test -race` on Ubuntu + macOS, and the build task all succeed. Also extends Dependabot to track GitHub Actions versions weekly. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- Bump Go version to 1.26.2 - Move qrterminal/v3 and rsc.io/qr to direct dependencies - Remove indirect-only entries for qrterminal/v3 and rsc.io/qr
Refactor to check for empty report slices before accessing elements, ensuring proper error handling when no report data is returned.
- Delete corebtUnsubscribe and corebtCanSendWithoutResponse functions and related C helpers, as they are no longer used in the BLE transport layer - Simplify platform stubs accordingly
p0fi
added a commit
that referenced
this pull request
Apr 23, 2026
Ensures Dependabot (and human) PRs can't be merged until gofmt, golangci-lint, `go test -race` on Ubuntu + macOS, and the build task all succeed. Also extends Dependabot to track GitHub Actions versions weekly.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.github/workflows/ci.ymlrunninggofmt+mise run lint,mise run test(Ubuntu + macOS,-race), andmise run buildon every push tomainand every PR..github/dependabot.ymlto also watchgithub-actions, so action versions stay current.mainthat requires these checks (Lint,Test (ubuntu-latest),Test (macos-latest),Build) before merging, enforces PR flow with conversation resolution, and blocks force-push/deletion. Admins keep a bypass.The net effect: Dependabot PRs (and human ones) must pass CI before merging.
Test plan
🤖 Generated with Claude Code