Add GolangCI action.

This commit is contained in:
Sean Stiglitz 2020-11-15 12:22:49 -08:00 committed by Jesse Duffield
parent f7bab5fdc0
commit 62b200a4be

35
.github/workflows/lint.yml vendored Normal file
View file

@ -0,0 +1,35 @@
name: golangci-lint
on:
pull_request:
types:
- labeled
- unlabeled
- synchronize
- opened
- edited
- ready_for_review
- reopened
- unlocked
pull_request_review:
types:
- submitted
check_suite:
types:
- completed
status: {}
jobs:
golangci:
strategy:
matrix:
go-version:
- 1.14.x
os:
- ubuntu-latest
name: lint
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
version: v1.29