-
Notifications
You must be signed in to change notification settings - Fork 465
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #462 from pseudomuto/move_ci_to_github
Switch from Travis to GitHub actions
- Loading branch information
Showing
3 changed files
with
30 additions
and
44 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,27 @@ | ||
name: CI | ||
|
||
on: | ||
create: ~ | ||
|
||
jobs: | ||
test: | ||
strategy: | ||
matrix: | ||
go: [ '1.17.2' ] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-go@v2 | ||
with: | ||
go-version: ${{ matrix.go }} | ||
|
||
- name: Dependencies | ||
run: go get github.com/golang/protobuf/{proto,protoc-gen-go} github.com/haya14busa/goverage | ||
|
||
- name: Tests | ||
run: | | ||
goverage -race -coverprofile=coverage.txt -covermode=atomic | ||
make bench lint | ||
- name: Upload coverage to Codecov | ||
uses: codecov/codecov-action@v2 |
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