2021-02-18 09:57:19 +03:00
|
|
|
name: Lint
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
2021-05-19 13:55:43 +03:00
|
|
|
paths-ignore:
|
|
|
|
- '**.md'
|
2021-02-18 09:57:19 +03:00
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- master
|
2021-05-19 13:55:43 +03:00
|
|
|
paths-ignore:
|
|
|
|
- '**.md'
|
2021-02-18 09:57:19 +03:00
|
|
|
|
|
|
|
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:
|
2021-05-19 04:04:53 +03:00
|
|
|
version: v1.40
|
|
|
|
args: -E goimports -E gocritic -E misspell -E revive
|