Skip to content

fix: label cross-namespace trace_flow members with their real namespace #92

fix: label cross-namespace trace_flow members with their real namespace

fix: label cross-namespace trace_flow members with their real namespace #92

Workflow file for this run

name: CI
on:
push:
branches:
- main
- master
pull_request:
permissions:
contents: read
jobs:
verify:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.25'
- uses: actions/setup-node@v4
with:
node-version: '22'
cache: npm
cache-dependency-path: web/wiki/package-lock.json
- name: Configure git for clone/gitops tests
run: |
git config --global init.defaultBranch main
git config --global user.name "CI"
git config --global user.email "ci@example.com"
- name: Run go vet
run: make vet
- name: Run go test
run: CGO_ENABLED=1 go test -tags "fts5" ./... -count=1
- name: Prepare container artifacts
run: make container-artifacts
- name: Build production image
run: |
docker build \
--build-arg TARGETARCH=amd64 \
--tag ccg:ci .
- name: Capture go build JSON
run: make build-json
- name: Check npm wrapper syntax
run: |
node --check npm/install.js
node --check npm/bin/ccg.js
node --check npm/bin/ccg-server.js
- name: Upload go build JSON artifact
if: always()
uses: actions/upload-artifact@v4
with:
name: go-build-json
path: build-results.json