change master to main in scripts and docs (#1569)

* change master to main in scripts and docs

Changes the naming from master to main in the scripts and documentation.

Do not merge unless CI passes!

Signed-off-by: Charlie Drage <charlie@charliedrage.com>

* remove 1.18, specify version of staticcheck

---------

Signed-off-by: Charlie Drage <charlie@charliedrage.com>
This commit is contained in:
Charlie Drage
2023-02-08 15:42:16 -05:00
committed by GitHub
parent a2b2a1f304
commit d43aefd882
10 changed files with 19 additions and 33 deletions
+1 -6
View File
@@ -91,16 +91,12 @@ gen-cmd:
# run all validation tests
.PHONY: validate
validate: gofmt vet staticcheck
validate: gofmt vet
.PHONY: vet
vet:
go vet ./pkg/...
.PHONY: staticcheck
staticcheck:
staticcheck ./pkg/...
.PHONY: gofmt
gofmt:
./script/check-gofmt.sh
@@ -114,7 +110,6 @@ test: bin test-dep validate test-unit-cover install test-cmd
test-dep:
go install github.com/mattn/goveralls@latest
go install github.com/modocache/gover@latest
go install honnef.co/go/tools/cmd/staticcheck@latest
go install github.com/mitchellh/gox@latest