From 82e6f75354aad5873c445fca8927d937511f2aa7 Mon Sep 17 00:00:00 2001 From: Stephen Adamson Date: Thu, 25 Jun 2026 16:41:18 +0100 Subject: [PATCH] ci: split govulncheck and frontend checks into parallel jobs --- .gitea/workflows/ci.yaml | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index a67d862..4a3517c 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -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