Merge pull request #32 from strukturag/ci-golang-lint

CI: Also run golangci-lint
This commit is contained in:
Joachim Bauch 2021-04-26 17:36:42 +02:00 committed by GitHub
commit 73acd90f2b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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