This repository has been archived by the owner on Sep 27, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from spiegel-im-spiegel/update-chart-subpackage
Update chart subpackage
- Loading branch information
Showing
5 changed files
with
63 additions
and
22 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 |
---|---|---|
|
@@ -16,4 +16,6 @@ | |
|
||
# Other files and directories | ||
work/ | ||
dist/ | ||
.task/ | ||
*.bak |
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,50 @@ | ||
version: '3' | ||
|
||
tasks: | ||
default: | ||
cmds: | ||
- task: clean | ||
- task: test | ||
- task: nancy | ||
- task: graph | ||
|
||
build-all: | ||
desc: Build executable binary with GoReleaser. | ||
cmds: | ||
- goreleaser --snapshot --skip-publish --rm-dist | ||
|
||
test: | ||
desc: Test and lint. | ||
cmds: | ||
- go mod verify | ||
- go test ./... | ||
- docker run --rm -v $(pwd):/app -w /app golangci/golangci-lint:v1.40.1 golangci-lint run --enable gosec --timeout 3m0s ./... | ||
sources: | ||
- ./go.mod | ||
- '**/*.go' | ||
|
||
nancy: | ||
desc: Check vulnerability of external packages with Nancy. | ||
cmds: | ||
- depm list -j | docker run --rm -i sonatypecommunity/nancy:latest sleuth -n | ||
sources: | ||
- ./go.mod | ||
- '**/*.go' | ||
|
||
clean: | ||
desc: Initialize module and build cache, and remake go.sum file. | ||
cmds: | ||
- rm -f ./go.sum | ||
- go clean -cache | ||
- go clean -modcache | ||
- go mod tidy -v | ||
|
||
graph: | ||
desc: Make grapth of dependency modules. | ||
cmds: | ||
- depm m --dot --dot-config dot-config.toml | dot -Tpng -o ./dependency.png | ||
sources: | ||
- ./go.mod | ||
- '**/*.go' | ||
generates: | ||
- ./dependency.png |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.