CI: Also run golangci-lint

This commit is contained in:
Joachim Bauch 2020-07-31 14:14:34 +02:00
parent 4298c082eb
commit 929ac80b86
No known key found for this signature in database
GPG Key ID: 77C1D22D53E15F02
1 changed files with 24 additions and 0 deletions

24
.github/workflows/lint.yml vendored Normal file
View File

@ -0,0 +1,24 @@
name: lint
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
lint:
name: golang
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: |
make common
- name: lint
uses: golangci/golangci-lint-action@v2
with:
version: v1.29