Skip to content

Commit

Permalink
lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
superstes committed Sep 24, 2023
1 parent 46eb1b1 commit 732c112
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,12 @@ jobs:
uses: golangci/golangci-lint-action@v3
with:
args: '--config=.golangci.yml'
working-directory: 'lib'

- name: Running tests
run: go test -v ./...
run: |
cd lib/
go test -v ./...
shell: bash

- name: Build binary
Expand Down
3 changes: 2 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ run:
- 'sort.go'

issues:
exclude: []
exclude:
- 'structtag' # yaml-config defaults
exclude-rules: []
4 changes: 2 additions & 2 deletions scripts/lint.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash

cd "$(dirname "$0")/.."
golangci-lint run --config .golangci.yml
cd "$(dirname "$0")/../lib"
golangci-lint run --config ../.golangci.yml

0 comments on commit 732c112

Please sign in to comment.