name: lint
on: [pull_request, push]
jobs:
golangci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: golangci/golangci-lint-action@v2
with:
version: v1.34.1
args: --timeout=5m
- name: Run go vet
run: |
go vet ./...