Skip to content

Commit ff8d1a0

Browse files
committed
removed duplicate CI cmds from Makefile
1 parent 3245b54 commit ff8d1a0

File tree

2 files changed

+3
-13
lines changed

2 files changed

+3
-13
lines changed

Makefile

+1-7
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
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-
71
fix:
82
gofmt -w -s .
93
go generate ./...
104

11-
.PHONY: ci fix
5+
.PHONY: fix

README.md

+2-6
Original file line numberDiff line numberDiff line change
@@ -188,10 +188,6 @@ test file you can just run `go generate ./...`.
188188

189189
### Running tests
190190

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`.
197193
If the 'gold' files need updating, run `go test -update-gold`.

0 commit comments

Comments
 (0)