We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40da61c commit ddcbdf3Copy full SHA for ddcbdf3
.github/workflows/go.yml
@@ -27,10 +27,13 @@ jobs:
27
uses: actions/checkout@v2
28
- name: Get dependencies
29
run: |
30
- go get -v -t -d ./...
+ make get
31
+ - name: Lint Code
32
+ run: |
33
+ make lint
34
- name: Test
35
- go test ./... -v
36
+ make test
37
- name: Build Artifacts
38
- go build -ldflags="-s -w" -o gcb-visualizer
39
+ make build
Makefile
@@ -1,10 +1,13 @@
1
build:
2
- go build -ldflags="-s -w"
+ go build -ldflags="-s -w" -o gcb-visualizer
3
4
.PHONY: test
5
test:
6
go test -count=1 ./...
7
8
+get:
9
+ go get -v -t -d ./...
10
+
11
format-lint:
12
errors=$$(gofmt -l .); if [ "$${errors}" != "" ]; then echo "Format Lint Error Files:\n$${errors}"; exit 1; fi
13
0 commit comments