From 1a4dd3fa62d5a0b1d7d254c1a3f3c93c92b69e10 Mon Sep 17 00:00:00 2001 From: Bertrand Paquet Date: Thu, 27 Mar 2025 13:25:43 +0100 Subject: [PATCH 1/4] Update CI --- .github/workflows/golangci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/golangci.yml b/.github/workflows/golangci.yml index 680b772d..073081e9 100644 --- a/.github/workflows/golangci.yml +++ b/.github/workflows/golangci.yml @@ -10,16 +10,16 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3.0.1 + uses: actions/checkout@v4 - name: Setup Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version: 1.20.x - run: go mod vendor - name: Run golangci-lint - uses: golangci/golangci-lint-action@v3 + uses: golangci/golangci-lint-action@v7 with: - version: v1.53 + version: v2.0.2 From 81de50aeeed34744130a083be67cb8ea57e525d1 Mon Sep 17 00:00:00 2001 From: Bertrand Paquet Date: Thu, 27 Mar 2025 13:26:24 +0100 Subject: [PATCH 2/4] Update GitHub Actions to latest versions --- .github/workflows/release.yml | 4 ++-- .github/workflows/test.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f1282e7d..154dc17d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,13 +20,13 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Unshallow run: git fetch --prune --unshallow - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: '1.20' - diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1ec3320b..77faf045 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -19,10 +19,10 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version: '1.20' From 47ec3a58a77cf471146b70f32985fe6474423c43 Mon Sep 17 00:00:00 2001 From: Bertrand Paquet Date: Thu, 27 Mar 2025 13:31:33 +0100 Subject: [PATCH 3/4] Downgrade golangci-lint-action to v6 --- .github/workflows/golangci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/golangci.yml b/.github/workflows/golangci.yml index 073081e9..40e9d986 100644 --- a/.github/workflows/golangci.yml +++ b/.github/workflows/golangci.yml @@ -20,6 +20,6 @@ jobs: - run: go mod vendor - name: Run golangci-lint - uses: golangci/golangci-lint-action@v7 + uses: golangci/golangci-lint-action@v6 with: version: v2.0.2 From 546f7f878bd2449e123f501e01f170cb0b1ff1d5 Mon Sep 17 00:00:00 2001 From: Bertrand Paquet Date: Thu, 27 Mar 2025 13:33:22 +0100 Subject: [PATCH 4/4] Update golangci-lint version in workflow --- .github/workflows/golangci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/golangci.yml b/.github/workflows/golangci.yml index 40e9d986..742abf74 100644 --- a/.github/workflows/golangci.yml +++ b/.github/workflows/golangci.yml @@ -22,4 +22,4 @@ jobs: - name: Run golangci-lint uses: golangci/golangci-lint-action@v6 with: - version: v2.0.2 + version: v1.64.8