name: CI on: push: branches: - main workflow_dispatch: permissions: contents: read jobs: validate: runs-on: ubuntu-latest steps: - name: Check out repository uses: actions/checkout@v6 with: fetch-depth: 0 - name: Validate tracked project state run: sh scripts/check-project-state.sh env: SCREENER_BASE_SHA: ${{ github.event.before }} - name: Set up Go uses: actions/setup-go@v6 with: go-version: 1.26.6 cache-dependency-path: native/sender/go.sum - name: Check native sender working-directory: native/sender run: | go test ./... go vet ./... GOOS=windows GOARCH=amd64 CGO_ENABLED=0 go build -o "$RUNNER_TEMP/screener-sender.exe" ./cmd/screener-sender - name: Set up Node.js uses: actions/setup-node@v6 with: node-version-file: .node-version cache: npm - name: Install dependencies run: npm ci - name: Type-check, test, and build run: npm run check