ci: migrate from Travis CI to GitHub Actions#5
Merged
Conversation
Replace .travis.yml with .github/workflows/ci.yml, preserving the same install and build steps (go get -d -v . and go build -v ./). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Thomas Müller <1005065+DeepDiver1975@users.noreply.github.com>
Pin actions/checkout and actions/setup-go to their full commit SHAs for supply-chain security, keeping the version tag as a comment. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Thomas Müller <1005065+DeepDiver1975@users.noreply.github.com>
Only run on pushes to master and on pull_request events (opened, synchronize, reopened). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Thomas Müller <1005065+DeepDiver1975@users.noreply.github.com>
LukasHirt
reviewed
May 12, 2026
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 |
Collaborator
There was a problem hiding this comment.
Just so that we don't get immediately a dependabot PR after merging this.
Suggested change
| - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 |
| - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 | ||
|
|
||
| - name: Set up Go | ||
| uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5 |
Collaborator
There was a problem hiding this comment.
Just so that we don't get immediately a dependabot PR after merging this.
Suggested change
| uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5 | |
| uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0 |
Member
Author
There was a problem hiding this comment.
I want to update them after merging of #4 to see if it works ;-)
| with: | ||
| go-version-file: go.mod | ||
|
|
||
| - name: Install dependencies |
Collaborator
There was a problem hiding this comment.
I don't think this step is needed.
- the build step after this fetches dependencies on its own
- the
-dflag should be deprecated - if this is about having a separate log for deps install, why not use
go mod download?
LukasHirt
approved these changes
May 12, 2026
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
.travis.yml.github/workflows/ci.ymlwith equivalent steps:go get -d -v .(install dependencies)go build -v ./(build)actions/checkout@v4andactions/setup-go@v5withgo-version-file: go.modTest plan
CIworkflow appears in the Actions tab after merging🤖 Generated with Claude Code