File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818 uses : actions/checkout@v4
1919
2020 - name : Set up Go
21- uses : actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
21+ uses : ./.github/ actions/setup-go
2222 with :
2323 go-version-file : " go.mod"
24+ restore-build-cache-only : " false"
2425
2526 - name : Build
2627 run : go build -v ./...
6061 with :
6162 name : go-race-results
6263 path : |
63- ./race.*
64- check-tidy :
65- runs-on : ubuntu-latest
66- steps :
67- - name : Checkout
68- uses : actions/checkout@v4
69-
70- - name : Set up Go
71- uses : ./.github/actions/setup-go
72- with :
73- go-version-file : " go.mod"
74- only-modules : " true"
75-
76- - name : Ensure "make gomodtidy" has been run
77- run : |
78- make gomodtidy
79- git add --all
80- git diff --minimal --cached --exit-code
81-
82- - name : Ensure "make generate" has been run
83- run : |
84- make rm-mocked
85- make rm-builders
86- make generate
87- git add --all
88- git diff --stat --cached --exit-code
89-
64+ ./race.*
You can’t perform that action at this time.
0 commit comments