mirror of
https://github.com/golangci/golangci-lint-action.git
synced 2025-12-12 22:11:15 +00:00
docs: use a fixed version
This commit is contained in:
parent
42ebe7fde9
commit
d7e9c664d4
1 changed files with 3 additions and 3 deletions
|
|
@ -50,7 +50,7 @@ jobs:
|
|||
- name: golangci-lint
|
||||
uses: golangci/golangci-lint-action@v6
|
||||
with:
|
||||
version: latest
|
||||
version: v1.58
|
||||
```
|
||||
|
||||
We recommend running this action in a job separate from other jobs (`go test`, etc.)
|
||||
|
|
@ -92,7 +92,7 @@ jobs:
|
|||
- name: golangci-lint
|
||||
uses: golangci/golangci-lint-action@v6
|
||||
with:
|
||||
version: latest
|
||||
version: v1.58
|
||||
```
|
||||
|
||||
You will also likely need to add the following `.gitattributes` file to ensure that line endings for Windows builds are properly formatted:
|
||||
|
|
@ -115,7 +115,7 @@ The version of golangci-lint to use.
|
|||
```yml
|
||||
uses: golangci/golangci-lint-action@v6
|
||||
with:
|
||||
version: latest
|
||||
version: v1.58
|
||||
# ...
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue