From cf71a9deedfba82f5ba68cd5367cafc5a28277e6 Mon Sep 17 00:00:00 2001 From: Algis Dumbris Date: Fri, 13 Mar 2026 21:00:58 +0200 Subject: [PATCH] fix: resolve CI failures - golangci-lint v2 and npm peer deps - Upgrade golangci-lint-action to v7 with v2.1 (supports Go 1.25) - Use npm install --legacy-peer-deps instead of npm ci for web builds Co-Authored-By: Claude Opus 4.6 --- .github/workflows/ci.yml | 6 +++--- .github/workflows/release.yml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 453e6f8..c6ef8a8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,9 +15,9 @@ jobs: with: go-version: "1.25" - - uses: golangci/golangci-lint-action@v6 + - uses: golangci/golangci-lint-action@v7 with: - version: latest + version: v2.1 test: name: Test @@ -37,7 +37,7 @@ jobs: - name: Build web frontend run: | - cd web && npm ci && npm run build + cd web && npm install --legacy-peer-deps && npm run build - name: Copy web assets run: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0ef3bcd..d2ea241 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -44,7 +44,7 @@ jobs: - name: Build web frontend run: | - cd web && npm ci && npm run build + cd web && npm install --legacy-peer-deps && npm run build - name: Copy web assets run: | @@ -99,7 +99,7 @@ jobs: - name: Build web frontend run: | - cd web && npm ci && npm run build + cd web && npm install --legacy-peer-deps && npm run build - name: Copy web assets run: |