Extend CI workflow by adding tests

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
This commit is contained in:
Ahmet Alp Balkan
2020-04-29 13:22:42 -07:00
parent 0491ac552e
commit 3c9c44842c

View File

@@ -12,6 +12,10 @@ jobs:
uses: actions/setup-go@v1
with:
go-version: 1.14
- name: Ensure go.mod is already tidied
run: go mod tidy && git diff --no-patch --exit-code
- name: Run unit tests
run: go test ./...
- name: GoReleaser
uses: goreleaser/goreleaser-action@v1
with: