-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: GitHub Actions workflow for tests (#12)
* feat: GitHub Actions workflow for tests. * chore: Drop protoc until we can sort out the generation checks. * chore: Remove the tidy check for now.
- Loading branch information
1 parent
d1001d7
commit ea3be64
Showing
2 changed files
with
30 additions
and
1 deletion.
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: Tests | ||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
jobs: | ||
go-test: | ||
name: Go Test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Set up Go 1.x | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: ^1.14 | ||
id: go | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
# TODO(brett): This keeps seeing adding "google.golang.org/protobuf v1.23.0" | ||
# and failing. | ||
# - name: Verify Tidy | ||
# run: | | ||
# make RELEASE=1 | ||
# go mod tidy | ||
# git diff --exit-code | ||
|
||
- name: Test | ||
run: go test -v ./... |
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