docs: update examples

This commit is contained in:
Fernandez Ludovic
2026-05-06 05:09:42 +02:00
parent c9500d7aa7
commit 6f87dfdbd1
+6 -6
View File
@@ -56,7 +56,7 @@ jobs:
- name: golangci-lint - name: golangci-lint
uses: golangci/golangci-lint-action@v9 uses: golangci/golangci-lint-action@v9
with: with:
version: v2.11 version: v2.12
``` ```
</details> </details>
@@ -94,7 +94,7 @@ jobs:
- name: golangci-lint - name: golangci-lint
uses: golangci/golangci-lint-action@v9 uses: golangci/golangci-lint-action@v9
with: with:
version: v2.11 version: v2.12
``` ```
You will also likely need to add the following `.gitattributes` file to ensure that line endings for Windows builds are properly formatted: 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: env:
GO_VERSION: stable GO_VERSION: stable
GOLANGCI_LINT_VERSION: v2.11 GOLANGCI_LINT_VERSION: v2.12
jobs: jobs:
detect-modules: detect-modules:
@@ -179,7 +179,7 @@ jobs:
with: with:
os: ${{ matrix.os }} os: ${{ matrix.os }}
go-version: ${{ matrix.go-version }} go-version: ${{ matrix.go-version }}
golangci-lint-version: v2.11 golangci-lint-version: v2.12
``` ```
```yaml ```yaml
@@ -201,7 +201,7 @@ on:
golangci-lint-version: golangci-lint-version:
description: 'Golangci-lint version' description: 'Golangci-lint version'
type: string type: string
default: 'v2.11' default: 'v2.12'
jobs: jobs:
detect-modules: detect-modules:
@@ -296,7 +296,7 @@ When `install-mode` is:
```yml ```yml
uses: golangci/golangci-lint-action@v9 uses: golangci/golangci-lint-action@v9
with: with:
version: v2.11 version: v2.12
# ... # ...
``` ```