chore: add community files, badges, and drop testify for stdlib tests - #5
Merged
Merged
Conversation
Round out the repository for public open-source use, mirroring the conventions in slashdevops/httpx: - README: add Go version, license, Release, and CodeQL badges. Keep the Go Reference badge; Go Report Card is intentionally omitted (the service has been retired). - Add SECURITY.md documenting the CodeQL scanning and vulnerability reporting process. - Add .github/FUNDING.yml, .github/dependabot.yml (gomod + github-actions), and .github/release.yml for auto-generated release notes. - Add .golangci.yaml linter configuration. - Add .github/workflows/codeql.yml (CodeQL Advanced) for code scanning. Also drop the github.com/stretchr/testify dependency and rewrite the tests using only the standard library testing package (Go 1.25): - Replace assert/require with plain t.Error/t.Fatal checks. - Replace assert.Eventually with a small local eventually() poll helper. - Use maps.Equal for map comparison. go.mod now has a single direct dependency (golang.org/x/time). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
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:
For more information about GitHub Code Scanning, check out the documentation. |
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
Rounds out the repository for public open-source use (mirroring the conventions in slashdevops/httpx) and removes the
testifytest dependency.README badges
Added Go version, license, Release, and CodeQL badges alongside the existing Go Reference badge. Go Report Card is intentionally not added — that service has been retired.
New repository files
gomodandgithub-actions.Drop testify → standard library testing (Go 1.25)
assert/requirewith plaint.Error/t.Fatalchecks.assert.Eventuallywith a small localeventually()poll helper.maps.Equalfor map comparison.go.modnow has a single direct dependency (golang.org/x/time); all testify-related indirect deps are gone.Verification
🤖 Generated with Claude Code