-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate from Travis CI to GitHub Actions
This simply rewrites the Travis CI config format to GitHub Actions, while keeping the same (old) Go versions (but ignoring "tip" since that's too new). We can incrementally migrate to newer, supported versions of Go after we've validated that this format works with the current Go versions. Fixes #85
- Loading branch information
Showing
3 changed files
with
31 additions
and
11 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: "Go" | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
go: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
go: [ '1.14', '1.13', '1.12' ] | ||
os: [ 'ubuntu-22.04' ] | ||
runs-on: ${{ matrix.os }} | ||
name: Go ${{ matrix.go }} on ${{ matrix.os }} | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: ${{ matrix.go }} | ||
|
||
- name: Build | ||
run: go test ./... | ||
env: | ||
GO111MODULE: on |
This file was deleted.
Oops, something went wrong.
This file contains 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