Skip to content

Commit

Permalink
fix: golint
Browse files Browse the repository at this point in the history
  • Loading branch information
Zygimantass committed Dec 22, 2023
1 parent b018473 commit 211235d
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,21 @@ permissions:

jobs:
golangci:
strategy:
matrix:
module: ["util", "types"]
name: golangci-lint
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v4
with:
go-version: 1.21.3
- uses: actions/checkout@v4
- name: initialize workspace
run: |
go work init ||:
go work use ./util
go work use ./types
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
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: latest
only-new-issues: true
args: --timeout=5m
args: --timeout=5
working-directory: ${{ matrix.module }}

0 comments on commit 211235d

Please sign in to comment.