Skip to content

Commit

Permalink
fixup! Standard task runes
Browse files Browse the repository at this point in the history
  • Loading branch information
eccles committed Aug 20, 2024
1 parent 00479c4 commit 16baf31
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions taskfiles/Taskfile_azurite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ tasks:
deps: [stop]
cmds:
- |
set -euo pipefail
#
[[ -z "{{.AZURITE_DATA_DIR}}" ]] && exit 0
Expand Down
4 changes: 4 additions & 0 deletions taskfiles/Taskfile_codeqa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ tasks:
summary: Quality assurance of code
cmds:
- |
set -euo pipefail
which go
go fix ./...
which goimports
Expand All @@ -38,6 +39,7 @@ tasks:
summary: Quality assurance of code
cmds:
- |
set -euo pipefail
which go
go vet ./...
which golangci-lint
Expand All @@ -48,6 +50,7 @@ tasks:
summary: Upgrade modules
cmds:
- |
set -euo pipefail
GATEWAYVERSION=$(protoc-gen-grpc-gateway -version | cut -d',' -f1 | cut -d' ' -f2)
go get -u github.com/grpc-ecosystem/grpc-gateway/v2@v${GATEWAYVERSION}
go mod tidy
Expand All @@ -56,4 +59,5 @@ tasks:
unit-tests:
summary: "run unit tests"
cmds:
- which go
- go test {{.GO_TEST_TAGS}} ./...

0 comments on commit 16baf31

Please sign in to comment.