Add separate sets of hard- and soft-enforced linters

This commit is contained in:
Christian Muehlhaeuser
2022-01-07 07:18:16 +01:00
committed by Christian Rocha
parent bef2c8ce66
commit 91cfe19018
4 changed files with 72 additions and 12 deletions

18
.github/workflows/lint-soft.yml vendored Normal file
View File

@@ -0,0 +1,18 @@
name: lint-soft
on:
push:
pull_request:
jobs:
golangci:
name: lint-soft
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
# Optional: golangci-lint command line arguments.
args: --config .golangci-soft.yml --issues-exit-code=0
# Optional: show only new issues if it's a pull request. The default value is `false`.
only-new-issues: true