Skip to content

Commit

Permalink
update ci linter
Browse files Browse the repository at this point in the history
  • Loading branch information
rogarcia committed Jun 28, 2024
1 parent f76c8f1 commit 2845e93
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,18 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
- name: Set up Go 1.20
- name: Set up Go 1.21
uses: actions/setup-go@v3
with:
go-version: 1.20.5
go-version: 1.21.11
id: go
- run: go version

- name: Lint
run: |
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.53.3
go mod tidy
./bin/golangci-lint run -v --timeout=3m --go=1.20.5
./bin/golangci-lint run -v --timeout=3m --go=1.21.11
# Optional: working directory, useful for monorepos
# working-directory: somedir
Expand Down

0 comments on commit 2845e93

Please sign in to comment.