Skip to content

Commit 8b3f481

Browse files
committed
first pass adding the linter
1 parent e107b33 commit 8b3f481

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.github/workflows/test.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,26 @@
11
name: tests
22
on: [push, pull_request]
33
jobs:
4-
54
build:
65
name: Build
76
runs-on: ubuntu-latest
87
steps:
9-
10-
- name: Set up Go 1.12
8+
- name: Set up Go 1.14
119
uses: actions/setup-go@v1
1210
with:
13-
go-version: 1.13.1
11+
go-version: 1.14.3
1412
id: go
1513

1614
- name: Check out code into the Go module directory
1715
uses: actions/checkout@v1
1816

19-
- name: Build
20-
run: go build -v cmd/tickgit.go
17+
- name: Vet
18+
run: go vet -v ./...
19+
20+
- name: golangci-lint
21+
uses: golangci/golangci-lint-action@v1
22+
with:
23+
version: v1.26
2124

2225
- name: Test
2326
run: go test -v ./...

0 commit comments

Comments
 (0)