File tree 2 files changed +3
-13
lines changed
2 files changed +3
-13
lines changed Original file line number Diff line number Diff line change 1
- ci :
2
- test -z " $$ (gofmt -d -s .)"
3
- go vet -composites=false ./...
4
- go test ./...
5
- ./test/bats/bin/bats ./test/goose.bats
6
-
7
1
fix :
8
2
gofmt -w -s .
9
3
go generate ./...
10
4
11
- .PHONY : ci fix
5
+ .PHONY : fix
Original file line number Diff line number Diff line change @@ -188,10 +188,6 @@ test file you can just run `go generate ./...`.
188
188
189
189
### Running tests
190
190
191
- To run all the tests, first make sure you have submodules initialized (` git submodule update --init --recursive ` ).
192
- Then run:
193
- ```
194
- make ci
195
- ```
196
- You can do ` make fix ` to automatically fix all the formatting and update generated files.
191
+ Use a tool such as [ act] ( https://github.com/nektos/act ) to run the CI tests locally.
192
+ To automatically fix all formatting issues and update the generated files, run ` make fix ` .
197
193
If the 'gold' files need updating, run ` go test -update-gold ` .
You can’t perform that action at this time.
0 commit comments