We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3466358 commit 015bbc0Copy full SHA for 015bbc0
.github/workflows/ci.yaml
@@ -16,6 +16,7 @@ jobs:
16
- uses: hashicorp/setup-golang@v1
17
with:
18
version-file: go.mod
19
+ - uses: extractions/setup-just@v2
20
- name: Run Go Test
21
run: |
- go test -race -v ./...
22
+ just test
Justfile
@@ -0,0 +1,22 @@
1
+set shell := ["bash", "-u", "-c"]
2
+
3
+# print just command targets
4
+default:
5
+ @just --list
6
7
+# run go test with race detector
8
+test:
9
+ go test -count=1 -v -race ./...
10
11
+# scan source with go vet tool
12
+vet:
13
+ go vet ./...
14
15
+# tidy go modules
+tidy:
+ go mod tidy
+# publish latest git tag as a github release
+release:
+ envy exec gh-release goreleaser release --clean
+ $(MAKE) clean
0 commit comments