Skip to content

Commit ed511db

Browse files
committed
chore: update GitHub Actions workflow for Go linting
- Added a step to download Go dependencies before running golangci-lint. - Increased the timeout for golangci-lint to 5 minutes to accommodate larger codebases.
1 parent 0bed692 commit ed511db

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/test.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,14 @@ jobs:
2121
go-version-file: go.mod
2222
cache: true
2323

24+
- name: Download dependencies
25+
run: go mod download
26+
2427
- name: Run golangci-lint
2528
uses: golangci/golangci-lint-action@v6
2629
with:
2730
version: latest
31+
args: --timeout=5m
2832

2933
test:
3034
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)