name: Lint
on:
push:
branches:
- master
pull_request:
jobs:
golangci:
name: Golangci-Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v2
with:
version: v1.40
args: -E goimports -E gocritic -E misspell -E revive