ci: split govulncheck and frontend checks into parallel jobs
Lint & Vuln Scan / Go vulnerabilities (push) Successful in 22s
Lint & Vuln Scan / Frontend lint & types (push) Failing after 30s

This commit is contained in:
2026-06-25 16:41:18 +01:00
parent 7c56d6cfb7
commit 82e6f75354
+18 -4
View File
@@ -1,5 +1,5 @@
name: Frontend Lint & Vulns
description: Runs frontend quality checks and Go vulnerability scanning.
name: Lint & Vuln Scan
description: Runs Go vulnerability scanning and frontend quality checks in parallel.
on:
push:
branches:
@@ -8,8 +8,8 @@ on:
pull_request:
jobs:
quality:
name: Lint & vulns
vulns:
name: Go vulnerabilities
runs-on: ubuntu-latest
defaults:
run:
@@ -33,6 +33,20 @@ jobs:
go install golang.org/x/vuln/cmd/govulncheck@latest
govulncheck ./...
frontend:
name: Frontend lint & types
runs-on: ubuntu-latest
defaults:
run:
shell: sh
steps:
- uses: actions/checkout@v4
- name: Fix node toolcache path for Post-step cleanup
run: |
mkdir -p /opt/hostedtoolcache/node/22.23.1/x64/bin
ln -sf /usr/local/bin/node /opt/hostedtoolcache/node/22.23.1/x64/bin/node
- name: Frontend type check
run: |
cd frontend