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 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
8258e19abc
commit
cf71a9deed
@@ -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: |
|
||||
|
||||
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user