Skip to content

Commit

Permalink
first pass adding the linter
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickdevivo committed Jun 12, 2020
1 parent e107b33 commit 8b3f481
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,26 @@
name: tests
on: [push, pull_request]
jobs:

build:
name: Build
runs-on: ubuntu-latest
steps:

- name: Set up Go 1.12
- name: Set up Go 1.14
uses: actions/setup-go@v1
with:
go-version: 1.13.1
go-version: 1.14.3
id: go

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

- name: Build
run: go build -v cmd/tickgit.go
- name: Vet
run: go vet -v ./...

- name: golangci-lint
uses: golangci/golangci-lint-action@v1
with:
version: v1.26

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

0 comments on commit 8b3f481

Please sign in to comment.