docs: update README.md to use golangci-lint v1.60 (#1087)

This commit is contained in:
Kévin Dunglas 2024-08-18 17:31:41 +02:00 committed by GitHub
parent 2af9b8ff01
commit de8531069f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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: