Skip to content

Commit

Permalink
update checks
Browse files Browse the repository at this point in the history
  • Loading branch information
julieqiu committed Oct 30, 2024
1 parent 3dbf14d commit 839e550
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/generator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,7 @@ jobs:
generator/go.sum
- name: Display Go version
run: go version
- run: go mod tidy
- run: go fmt ./...
- run: go test ./...
- name: Detect Changes
run: git diff --exit-code
6 changes: 1 addition & 5 deletions generator/all_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,7 @@ func TestVet(t *testing.T) {
}

func TestGoModTidy(t *testing.T) {
rungo(t, "mod", "tidy")
}

func TestGoFmt(t *testing.T) {
rungo(t, "fmt")
rungo(t, "mod", "tidy", "-diff")
}

func TestGovulncheck(t *testing.T) {
Expand Down
1 change: 0 additions & 1 deletion generator/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ go 1.23.2

require (
github.com/cbroglie/mustache v1.4.0
github.com/google/go-cmp v0.6.0
github.com/iancoleman/strcase v0.3.0
google.golang.org/genproto/googleapis/api v0.0.0-20241021214115-324edc3d5d38
google.golang.org/protobuf v1.35.1
Expand Down

0 comments on commit 839e550

Please sign in to comment.