Skip to content

Commit

Permalink
ci(lint): make tolerant of deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfig committed Aug 3, 2024
1 parent 3768f9c commit f68c413
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ jobs:
golangci:
name: golangci-lint
runs-on: ubuntu-latest
strategy:
matrix:
mode: [no-failure, no-deprecations]
steps:
- uses: actions/setup-go@v3
with:
Expand All @@ -24,3 +27,7 @@ jobs:
with:
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
version: v1.49.0
args: |
'--exclude=\\(nolintlint\\)$' \
${{ matrix.mode == 'no-deprecations' && '--exclude=^SA1019' || '' }} \
${{ matrix.mode == 'no-failure' && '--issues-exit-code=0' || '' }}

0 comments on commit f68c413

Please sign in to comment.