ci: update golangci-lint-action to v3

This commit is contained in:
Christian Muehlhaeuser 2022-02-25 08:02:50 +01:00
parent 62259b72e5
commit b12cdc3c28
2 changed files with 12 additions and 2 deletions

View File

@ -13,9 +13,14 @@ jobs:
name: lint-soft
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ^1
- uses: actions/checkout@v2
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
uses: golangci/golangci-lint-action@v3
with:
# Optional: golangci-lint command line arguments.
args: --config .golangci-soft.yml --issues-exit-code=0

View File

@ -13,9 +13,14 @@ jobs:
name: lint
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ^1
- uses: actions/checkout@v2
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
uses: golangci/golangci-lint-action@v3
with:
# Optional: golangci-lint command line arguments.
#args: