There was an error while loading. Please reload this page.
1 parent 1b5510c commit 9926455Copy full SHA for 9926455
2 files changed
.github/workflows/test.yml
@@ -17,3 +17,15 @@ jobs:
17
uses: actions/checkout@v2
18
- name: Test
19
run: go test -v ./...
20
+
21
+ check:
22
+ runs-on: ubuntu-latest
23
+ steps:
24
+ - name: Install Go
25
+ uses: actions/setup-go@v2
26
+ with:
27
+ go-version: 1.16.x
28
+ - name: Checkout code
29
+ uses: actions/checkout@v2
30
+ - name: Check Code Formation
31
+ run: make fmt-check
Makefile
@@ -12,7 +12,6 @@
12
#
13
# install: Builds, tests and installs the code locally
14
15
-GO_PACKAGES ?= $(shell go list ./... | grep -v /vendor/)
16
GOFILES_NOVENDOR = $(shell find . -type f -name '*.go' -not -path "./vendor/*" -not -path "./.git/*")
.PHONY: all fmt build vet lint test cover install
0 commit comments