From 949139be3d6ec3f96561d3a9f5345e5a891799f9 Mon Sep 17 00:00:00 2001 From: Richard Shade Date: Mon, 19 Oct 2026 19:08:34 -0500 Subject: [PATCH] .github/workflows: add vulncheck, docs and ui-browser jobs CI ran only the Go tests, golangci-lint and the GoReleaser check. Add three jobs that already pass locally. vulncheck runs govulncheck at the version mise.toml pins. docs runs markdownlint over docs/, examples/ and the root Markdown files, then validates the main OpenSpec specs. It skips the in-flight changes, which do not validate yet. ui-browser installs Playwright's Chromium and runs the monitor UI and Teams card tests, which skip without a driver and so never ran in CI. It fails if any of them skips. Signed-off-by: Richard Shade --- .github/workflows/ci.yml | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3478003..772cad0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,3 +47,43 @@ jobs: with: version: v2.18.2 args: release --snapshot --clean + + vulncheck: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v6 + - uses: actions/setup-go@v6 + with: + go-version-file: go.mod + - run: go run golang.org/x/vuln/cmd/govulncheck@v1.9.0 ./... + + docs: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v6 + - uses: DavidAnson/markdownlint-cli2-action@v20 + with: + globs: | + docs/**/*.md + examples/**/*.md + *.md + - uses: actions/setup-node@v6 + with: + node-version: lts/* + - run: npx --yes @fission-ai/openspec@1.13.2 validate --specs --strict + + ui-browser: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v6 + - uses: actions/setup-go@v6 + with: + go-version-file: go.mod + - run: go run github.com/mxschmitt/playwright-go/cmd/playwright install --with-deps chromium + - name: Run browser tests and fail on skips + run: | + go test -count=1 -v -run 'TestUIBrowser|TestTeamsCardRender' ./cmd/tail-watch | tee browser.log + if grep -q -- '--- SKIP' browser.log; then + echo "::error::a browser test skipped; the Playwright driver or Chromium is missing" + exit 1 + fi