Skip to content

ci: add GitHub Actions CI pipeline and remove Travis CI#11

Open
nacholiya wants to merge 2 commits into
axonops:masterfrom
nacholiya:ci/github-actions
Open

ci: add GitHub Actions CI pipeline and remove Travis CI#11
nacholiya wants to merge 2 commits into
axonops:masterfrom
nacholiya:ci/github-actions

Conversation

@nacholiya

Copy link
Copy Markdown

Summary

This PR replaces the existing Travis CI setup with a GitHub Actions workflow.

Changes

  • Added GitHub Actions workflow at .github/workflows/ci.yml

    • Runs on push and pull requests to master
    • Tests against Go 1.22.x and 1.23.x
    • Executes:
      • go test -race -count=1 -coverprofile=coverage.out ./...
      • go tool cover -func=coverage.out
      • govulncheck (Go 1.23 only)
    • Configured concurrency with cancel-in-progress per ref
  • Removed legacy CI:

    • Deleted .travis.yml
    • Removed script/coverage
  • Updated documentation:

    • Replaced Travis CI badge with GitHub Actions badge
    • Updated "Running Tests" section to reflect current workflow

Notes

  • The issue mentions main, but the repository currently uses master, so the workflow is configured accordingly
  • CI validates the build across both Go versions
  • script/gen-certs.py remains unchanged as required

Closes #4

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.

ci: add GitHub Actions CI pipeline and remove Travis CI

1 participant