...
1name: lint-soft
2on:
3 push:
4 pull_request:
5
6permissions:
7 contents: read
8 # Optional: allow read access to pull request. Use with `only-new-issues` option.
9 pull-requests: read
10
11jobs:
12 golangci:
13 name: lint-soft
14 runs-on: ubuntu-latest
15 steps:
16 - uses: actions/checkout@v3
17 - name: golangci-lint
18 uses: golangci/golangci-lint-action@v3
19 with:
20 # Optional: golangci-lint command line arguments.
21 args: --config .golangci-soft.yml --issues-exit-code=0
22 # Optional: show only new issues if it's a pull request. The default value is `false`.
23 only-new-issues: true
View as plain text