Skip to content

Add GitHub Actions CI workflow#1

Merged
pelle merged 10 commits intomainfrom
add-ci-workflow
Mar 1, 2026
Merged

Add GitHub Actions CI workflow#1
pelle merged 10 commits intomainfrom
add-ci-workflow

Conversation

@pelle
Copy link
Copy Markdown
Contributor

@pelle pelle commented Mar 1, 2026

Summary

  • Adds .github/workflows/ci.yml with two parallel CI jobs
  • Test job: builds, vets, and runs tests with race detector and coverage reporting
  • Lint job: runs golangci-lint via the official action
  • Both jobs clone go-didcomm alongside the repo to satisfy the local replace directive, and the test job initializes the TAIPs submodule for test vectors

Test plan

  • Verify CI runs on this PR
  • Confirm test job passes (build, vet, test with race detector)
  • Confirm lint job passes

🤖 Generated with Claude Code

pelle and others added 10 commits March 1, 2026 14:09
Adds a CI pipeline that runs on pushes and PRs to main with two jobs:
- Test: build, vet, and test with race detector and coverage
- Lint: golangci-lint via the official action

Both jobs clone go-didcomm alongside the repo to satisfy the replace directive.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
actions/checkout doesn't allow checking out to paths outside the
workspace. Use git clone directly instead.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The pre-built golangci-lint binary (v1.64.8) was built with Go 1.24 and
can't target Go 1.25. Install from source via go install so it uses
the Go 1.25 toolchain.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Use published go-didcomm v0.1.0 instead of local ../go-didcomm replace
- Simplify CI by removing go-didcomm clone steps
- Fix SA1012 lint: use context.TODO() instead of nil in client_test.go

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Currently fails due to Go 1.25.0 stdlib vulnerabilities that are fixed
in 1.25.2+. Use continue-on-error so it reports without failing CI.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Updates go.mod from 1.25.0 to 1.25.3, fixing all 10 stdlib vulns
reported by govulncheck. Vulncheck can now fail CI properly.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add Documentation requirements section to CLAUDE.md with rules for
  maintaining CHANGELOG.md, README.md, and CLAUDE.md
- Remove stale local replace directive reference from CLAUDE.md
- Create initial CHANGELOG.md with unreleased changes from this PR

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1.25.3 still had 4 crypto/x509 vulns fixed in 1.25.5.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Go 1.26 is the latest stable release (Feb 2026). Includes Green Tea GC
by default and ~30% reduced cgo overhead.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@pelle pelle merged commit eea7606 into main Mar 1, 2026
3 checks passed
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