-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6d0bc1d
commit f96ff3c
Showing
5 changed files
with
12 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,10 +20,15 @@ tasks: | |
cmds: | ||
- go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest | ||
- go install github.com/client9/misspell/cmd/misspell@latest | ||
- go install github.com/securego/gosec/v2/cmd/[email protected] | ||
format: | ||
desc: "Format code" | ||
cmds: | ||
- gofmt -w -s . | ||
security: | ||
desc: "Run security scan" | ||
cmds: | ||
- gosec --exclude=G402,G304 ./... | ||
lint: | ||
desc: "Lint project, skipping test files." | ||
cmds: | ||
|
@@ -62,10 +67,6 @@ tasks: | |
- go install -ldflags "{{ .LD_FLAGS}}" | ||
- mv ${GOPATH}/bin/gdg ${GOPATH}/bin/{{ .BIN_NAME }} | ||
silent: false | ||
test: | ||
desc: "Dos tuff" | ||
cmds: | ||
- echo ${GOPATH} | ||
get-deps: | ||
desc: "Tidy Deps" | ||
cmds: | ||
|
@@ -106,3 +107,6 @@ tasks: | |
desc: "" | ||
cmds: | ||
- go test -v ./... -cover | ||
env: | ||
GRAFANA_INTEGRATION: "1" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters