docs: update README.md to use golangci-lint v1.60 (#1087)
This commit is contained in:
parent
2af9b8ff01
commit
de8531069f
10
README.md
10
README.md
@ -56,7 +56,7 @@ jobs:
|
||||
- name: golangci-lint
|
||||
uses: golangci/golangci-lint-action@v6
|
||||
with:
|
||||
version: v1.59
|
||||
version: v1.60
|
||||
```
|
||||
|
||||
</details>
|
||||
@ -94,7 +94,7 @@ jobs:
|
||||
- name: golangci-lint
|
||||
uses: golangci/golangci-lint-action@v6
|
||||
with:
|
||||
version: v1.59
|
||||
version: v1.60
|
||||
```
|
||||
|
||||
You will also likely need to add the following `.gitattributes` file to ensure that line endings for Windows builds are properly formatted:
|
||||
@ -120,7 +120,7 @@ on:
|
||||
|
||||
env:
|
||||
GO_VERSION: stable
|
||||
GOLANGCI_LINT_VERSION: v1.59
|
||||
GOLANGCI_LINT_VERSION: v1.60
|
||||
|
||||
jobs:
|
||||
detect-modules:
|
||||
@ -179,7 +179,7 @@ jobs:
|
||||
with:
|
||||
os: ${{ matrix.os }}
|
||||
go-version: ${{ matrix.go-version }}
|
||||
golangci-lint-version: v1.59
|
||||
golangci-lint-version: v1.60
|
||||
```
|
||||
|
||||
```yaml
|
||||
@ -201,7 +201,7 @@ on:
|
||||
golangci-lint-version:
|
||||
description: 'Golangci-lint version'
|
||||
type: string
|
||||
default: 'v1.59.1'
|
||||
default: 'v1.60'
|
||||
|
||||
jobs:
|
||||
detect-modules:
|
||||
|
Loading…
x
Reference in New Issue
Block a user