Skip to content

Commit

Permalink
fix(ci): Upgrade golangci-lint CI (#103)
Browse files Browse the repository at this point in the history
<!-- Thank you for opening a PR! We really appreciate you taking the
time to help out πŸ™Œ -->

#### Description (required)

- Upgrade golangci-lint versions.
- Download the dependencies before running `golangci-lint` (sometimes
`golangci-lint` does not fetch the dependencies completely)

#### Related issues & labels (optional)

- Fix CI
https://github.com/zeabur/cli/actions/runs/10194941447/job/28202582322
<!-- Add an issue number if this PR will close it. -->
- Suggested label: bug <!-- Help us triage by suggesting one of our
labels that describes your PR -->
  • Loading branch information
pan93412 authored Aug 1, 2024
2 parents a6ef67c + ce1c3b5 commit ecce42f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,11 @@ jobs:
- name: generate mocks
run: make mock

- name: download dependencies
run: go mod download

- name: golangci-lint
uses: golangci/golangci-lint-action@v3
uses: golangci/golangci-lint-action@v6
with:
version: v1.53
version: v1.59
only-new-issues: true

0 comments on commit ecce42f

Please sign in to comment.