Skip to content

Commit

Permalink
update Pull Request Linter Check
Browse files Browse the repository at this point in the history
Signed-off-by: Matthieu MOREL <[email protected]>
  • Loading branch information
mmorel-35 committed Apr 18, 2024
1 parent e0e5789 commit b76dbc8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/pr-linter-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,16 @@ jobs:
steps:

- name: Check out the code
uses: actions/checkout@v2
uses: actions/checkout@v4

- uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'
cache: false

- name: Linter check
run: make lint
uses: golangci/golangci-lint-action@v4
with:
version: v1.57.2
args: --verbose

1 change: 1 addition & 0 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ linters-settings:
- expected-actual
- go-require
- float-compare
- nil-compare
- require-error
- suite-dont-use-pkg
- suite-extra-assert-call
Expand Down

0 comments on commit b76dbc8

Please sign in to comment.