Skip to content

Commit

Permalink
fix(ci): setup go before lint
Browse files Browse the repository at this point in the history
  • Loading branch information
aymanbagabas committed Mar 21, 2023
1 parent 26aaaae commit 89a61d4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: ^1
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
# Optional: golangci-lint command line arguments.
args: --issues-exit-code=0
# Optional: show only new issues if it's a pull request. The default value is `false`.
only-new-issues: true
only-new-issues: true

0 comments on commit 89a61d4

Please sign in to comment.