Lint on push (#59)

* clean example log entries

* adds lint to test on push

* adds lint to release on tag
This commit is contained in:
Mark Chmarny 2020-08-26 10:18:17 -07:00 committed by GitHub
parent bfa8a82cad
commit 3acd5aa729
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 0 deletions

View File

@ -30,6 +30,11 @@ jobs:
- name: Test
run: go test -v -count=1 -race ./...
- name: Lint
uses: golangci/golangci-lint-action@v1
with:
version: v1.30
- name: Version
id: get_version
run: echo ::set-env name=RELEASE_VERSION::$(echo ${GITHUB_REF:10})

View File

@ -27,5 +27,10 @@ jobs:
- name: Test
run: go test -v -count=1 -race ./...
- name: Lint
uses: golangci/golangci-lint-action@v1
with:
version: v1.30