Skip to content

Commit

Permalink
https://github.com/golangci/golangci-lint-action/issues/442
Browse files Browse the repository at this point in the history
  • Loading branch information
Мудрых Артур Викторович (4047650) committed Aug 22, 2022
1 parent 6061918 commit 6f341fc
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,13 @@ jobs:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.18
- uses: actions/checkout@v3
go-version-file: go.mod
cache: true
cache-dependency-path: go.sum
- 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: v1.29
run: go install github.com/golangci/golangci-lint/cmd/[email protected]
- name: Run golangci-lint
run: golangci-lint run --version --verbose --out-format=github-actions

0 comments on commit 6f341fc

Please sign in to comment.