chore: update test version targets (#1417)

This commit is contained in:
Ludovic Fernandez
2026-09-01 02:27:14 +02:00
committed by GitHub
parent 3de4be9e74
commit 541d7b0384
2 changed files with 12 additions and 12 deletions

View File

@@ -41,8 +41,8 @@ jobs:
version: version:
- "" - ""
- "latest" - "latest"
- "v2.12" - "v2.13"
- "v2.12.2" - "v2.13.2"
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
@@ -73,8 +73,8 @@ jobs:
version: version:
- "" - ""
- "latest" - "latest"
- "v2.12.1" - "v2.13.2"
- "c0d3ddc9cf3faa61a4e378e879ece580256d76e5" - "dfd21f102e8031c6d4d1c8ec1d3e75c29197855c"
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
@@ -134,8 +134,8 @@ jobs:
version: version:
- "" - ""
- "latest" - "latest"
- "v2.12" - "v2.13"
- "v2.12.1" - "v2.13.2"
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

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.12 version: v2.13
``` ```
</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.12 version: v2.13
``` ```
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.12 GOLANGCI_LINT_VERSION: v2.13
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.12 golangci-lint-version: v2.13
``` ```
```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.12' default: 'v2.13'
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.12 version: v2.13
# ... # ...
``` ```