ants/.github/workflows/lint.yml

28 lines
487 B
YAML

name: Lint
on:
push:
branches:
- master
- dev
- test
paths-ignore:
- '**.md'
pull_request:
branches:
- master
paths-ignore:
- '**.md'
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