-
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.
Fixing cli docs for deletingUserFromOrg, performance tweak to org upl…
…oad. (#270)
- Loading branch information
1 parent
2d0e19e
commit bea04d5
Showing
4 changed files
with
19 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,9 @@ vars: | |
BUILD_DATE: { sh: date '+%Y-%m-%d-%H:%M:%S' } | ||
IMAGE_NAME: "esnet/gdg" | ||
LD_FLAGS: "-s -w -X github.com/esnet/gdg/internal/version.GitCommit={{ .GIT_COMMIT}}{{ .GIT_DIRTY}} -X github.com/esnet/gdg/internal/version.BuildDate={{ .BUILD_DATE }} " | ||
LEFTHOOK_VERSION: "v1.6.7" | ||
MOCKERY_VERSION: "v2.42.0" | ||
RELEASER_VERSION: "v1.24.0" | ||
|
||
dotenv: [ '.env' ] | ||
|
||
|
@@ -22,8 +25,11 @@ tasks: | |
- go install github.com/client9/misspell/cmd/misspell@latest | ||
- go install github.com/securego/gosec/v2/cmd/gosec@master | ||
- go install golang.org/x/vuln/cmd/govulncheck@latest | ||
- go install github.com/vektra/mockery/[email protected] | ||
- go install github.com/goreleaser/[email protected] | ||
- go install github.com/vektra/mockery/v2@{{ .MOCKERY_VERSION}} | ||
- go install github.com/goreleaser/goreleaser@{{ .RELEASER_VERSION }} | ||
- go install github.com/evilmartians/lefthook@{{ .LEFTHOOK_VERSION }} | ||
- lefthook install | ||
|
||
security: | ||
desc: "Run security scan" | ||
cmds: | ||
|
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
min_version: 1.4.3 | ||
|
||
pre-commit: | ||
parallel: true | ||
commands: | ||
backend-format: | ||
glob: '**/*.go' | ||
run: gofmt -w -s {staged_files} | ||
stage_fixed: true |