Merge branch v3.6 into master

This commit is contained in:
mmatur
2026-02-23 19:24:54 +01:00
54 changed files with 729 additions and 254 deletions
+2 -3
View File
@@ -10,7 +10,6 @@ on:
- 'script/gcg/**'
env:
GO_VERSION: '1.25'
CGO_ENABLED: 0
jobs:
@@ -56,12 +55,12 @@ jobs:
with:
fetch-depth: 0
- name: Set up Go ${{ env.GO_VERSION }}
- name: Set up Go
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
env:
ImageOS: ${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.goarm }}
with:
go-version: ${{ env.GO_VERSION }}
go-version-file: '.go-version'
check-latest: true
- name: Artifact webui
+2 -1
View File
@@ -35,7 +35,8 @@ jobs:
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
if: ${{ matrix.language == 'go' }}
with:
go-version-file: 'go.mod'
go-version-file: '.go-version'
check-latest: true
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
+2 -3
View File
@@ -7,7 +7,6 @@ on:
- v*
env:
GO_VERSION: '1.25'
CGO_ENABLED: 0
jobs:
@@ -28,12 +27,12 @@ jobs:
with:
fetch-depth: 0
- name: Set up Go ${{ env.GO_VERSION }}
- name: Set up Go
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
env:
ImageOS: ${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.goarm }}
with:
go-version: ${{ env.GO_VERSION }}
go-version-file: '.go-version'
check-latest: true
- name: Build
+2 -3
View File
@@ -6,7 +6,6 @@ on:
- 'v*.*.*'
env:
GO_VERSION: '1.25'
CGO_ENABLED: 0
VERSION: ${{ github.ref_name }}
TRAEFIKER_EMAIL: "traefiker@traefik.io"
@@ -35,13 +34,13 @@ jobs:
with:
fetch-depth: 0
- name: Set up Go ${{ env.GO_VERSION }}
- name: Set up Go
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
env:
# Ensure cache consistency on Linux, see https://github.com/actions/setup-go/pull/383
ImageOS: ${{ matrix.os }}
with:
go-version: ${{ env.GO_VERSION }}
go-version-file: '.go-version'
check-latest: true
- name: Artifact webui
@@ -12,7 +12,6 @@ on:
- 'integration/integration_test.go'
env:
GO_VERSION: '1.25'
CGO_ENABLED: 0
jobs:
@@ -27,10 +26,11 @@ jobs:
with:
fetch-depth: 0
- name: Set up Go ${{ env.GO_VERSION }}
- name: Set up Go
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
with:
go-version: ${{ env.GO_VERSION }}
go-version-file: '.go-version'
check-latest: true
- name: Avoid generating webui
run: |
+6 -7
View File
@@ -10,7 +10,6 @@ on:
- 'script/gcg/**'
env:
GO_VERSION: '1.25'
CGO_ENABLED: 0
jobs:
@@ -25,10 +24,10 @@ jobs:
with:
fetch-depth: 0
- name: Set up Go ${{ env.GO_VERSION }}
- name: Set up Go
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
with:
go-version: ${{ env.GO_VERSION }}
go-version-file: '.go-version'
check-latest: true
- name: Avoid generating webui
@@ -43,7 +42,7 @@ jobs:
with:
path: |
~/.cache/go-build
key: ${{ runner.os }}-go-build-cache-${{ env.GO_VERSION }}-${{ hashFiles('**/go.sum') }}
key: ${{ runner.os }}-go-build-cache-${{ hashFiles('**/go.mod', '**/go.sum') }}
- name: Artifact traefik binary
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
@@ -69,10 +68,10 @@ jobs:
with:
fetch-depth: 0
- name: Set up Go ${{ env.GO_VERSION }}
- name: Set up Go
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
with:
go-version: ${{ env.GO_VERSION }}
go-version-file: '.go-version'
check-latest: true
- name: Download traefik binary
@@ -89,7 +88,7 @@ jobs:
with:
path: |
~/.cache/go-build
key: ${{ runner.os }}-go-build-cache-${{ env.GO_VERSION }}-${{ hashFiles('**/go.sum') }}
key: ${{ runner.os }}-go-build-cache-${{ hashFiles('**/go.mod', '**/go.sum') }}
- name: Generate go test Slice
id: test_split
@@ -12,7 +12,6 @@ on:
- 'integration/integration_test.go'
env:
GO_VERSION: '1.25'
CGO_ENABLED: 0
jobs:
@@ -27,10 +26,11 @@ jobs:
with:
fetch-depth: 0
- name: Set up Go ${{ env.GO_VERSION }}
- name: Set up Go
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
with:
go-version: ${{ env.GO_VERSION }}
go-version-file: '.go-version'
check-latest: true
- name: Set up KO
uses: ko-build/setup-ko@ace48d793556083a76f1e3e6068850c1f4a369aa # v0.6
+4 -7
View File
@@ -9,9 +9,6 @@ on:
- '**.md'
- 'script/gcg/**'
env:
GO_VERSION: '1.25'
jobs:
generate-packages:
name: List Go Packages
@@ -25,10 +22,10 @@ jobs:
with:
fetch-depth: 0
- name: Set up Go ${{ env.GO_VERSION }}
- name: Set up Go
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
with:
go-version: ${{ env.GO_VERSION }}
go-version-file: '.go-version'
check-latest: true
- name: Generate matrix
@@ -52,10 +49,10 @@ jobs:
with:
fetch-depth: 0
- name: Set up Go ${{ env.GO_VERSION }}
- name: Set up Go
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
with:
go-version: ${{ env.GO_VERSION }}
go-version-file: '.go-version'
check-latest: true
- name: Tests
+7 -8
View File
@@ -6,8 +6,7 @@ on:
- '*'
env:
GO_VERSION: '1.25'
GOLANGCI_LINT_VERSION: v2.8.0
GOLANGCI_LINT_VERSION: v2.10.1
MISSPELL_VERSION: v0.7.0
jobs:
@@ -22,10 +21,10 @@ jobs:
with:
fetch-depth: 0
- name: Set up Go ${{ env.GO_VERSION }}
- name: Set up Go
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
with:
go-version: ${{ env.GO_VERSION }}
go-version-file: '.go-version'
check-latest: true
- name: golangci-lint
@@ -43,10 +42,10 @@ jobs:
with:
fetch-depth: 0
- name: Set up Go ${{ env.GO_VERSION }}
- name: Set up Go
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
with:
go-version: ${{ env.GO_VERSION }}
go-version-file: '.go-version'
check-latest: true
- name: Install misspell ${{ env.MISSPELL_VERSION }}
@@ -65,10 +64,10 @@ jobs:
with:
fetch-depth: 0
- name: Set up Go ${{ env.GO_VERSION }}
- name: Set up Go
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
with:
go-version: ${{ env.GO_VERSION }}
go-version-file: '.go-version'
check-latest: true
- name: go generate