- backend-ci.yml: remove || true from govulncheck - frontend-ci.yml: remove || true from npm audit - cd.yml: upgrade checkout@v3 -> v4, buildx-action@v2 -> v3 - chat-ci.yml: replace actions-rs/toolchain@v1 with dtolnay/rust-toolchain@stable - stream-ci.yml: replace actions-rs/toolchain@v1 with dtolnay/rust-toolchain@stable Zero remaining `|| true` patterns across all 11 workflow files. Zero remaining deprecated action references. Completes CI hardening started in C1. Co-authored-by: Cursor <cursoragent@cursor.com>
40 lines
796 B
YAML
40 lines
796 B
YAML
name: Backend API CI
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- "veza-backend-api/**"
|
|
- ".github/workflows/backend-ci.yml"
|
|
pull_request:
|
|
paths:
|
|
- "veza-backend-api/**"
|
|
- ".github/workflows/backend-ci.yml"
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
|
|
defaults:
|
|
run:
|
|
working-directory: veza-backend-api
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v5
|
|
with:
|
|
go-version: "1.22"
|
|
cache: true
|
|
|
|
- name: Download deps
|
|
run: go mod download
|
|
|
|
- name: Run govulncheck
|
|
run: |
|
|
go install golang.org/x/vuln/cmd/govulncheck@latest
|
|
govulncheck ./...
|
|
|
|
- name: Run tests
|
|
run: go test ./internal/handlers/... ./internal/services/... -short
|
|
|