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.
Add Hospitalized Patients Value in chart (re-implement)
- Loading branch information
1 parent
031cb23
commit 1b8cc02
Showing
6 changed files
with
62 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,5 @@ | |
|
||
# Other files and directories | ||
work/ | ||
.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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.