Skip to content

Commit d9e1732

Browse files
committed
Add format and vet checks to GitHub action
1 parent d88aee4 commit d9e1732

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/test.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,8 @@ jobs:
1313
with:
1414
go-version-file: "go.mod"
1515
- name: Run tests
16-
run: go test ./...
16+
run: |
17+
gofmt -d .
18+
go vet ./...
19+
go test ./...
1720

cmd/integrationtest/pi_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
func TestIntegration(t *testing.T) {
1414
prepareBuildDirectory(t)
1515
build(t, "pi")
16-
16+
1717
testCtx, cancelCtx := context.WithCancel(t.Context())
1818
defer cancelCtx()
1919

0 commit comments

Comments
 (0)