Skip to content

feat: notice and do not record data on first invocation #56

feat: notice and do not record data on first invocation

feat: notice and do not record data on first invocation #56

Workflow file for this run

name: CI - Aspect Workflows
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
permissions:
id-token: write
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
test:
name: test (${{ matrix.workspace.path }}, ${{ matrix.bazel.id }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
workspace:
- { path: ".", slug: "root" }
- { path: "examples/simple", slug: "examples-simple" }
bazel:
- { id: "bazel-7", version: "7.x", flags: "" }
- { id: "bazel-8", version: "8.x", flags: "" }
- { id: "bazel-9", version: "9.x", flags: "" }
env:
USE_BAZEL_VERSION: ${{ matrix.bazel.version }}
steps:
- uses: actions/checkout@v6
- uses: aspect-build/setup-aspect@c22a8f64fb38f82f59ce809cd7eb9f8ae096da44 # v2026.23.2
with:
aspect-api-token: ${{ secrets.ASPECT_API_TOKEN }}
- name: Test
working-directory: ${{ matrix.workspace.path }}
run: aspect test --task-key=test-${{ matrix.workspace.slug }}-${{ matrix.bazel.id }} ${{ matrix.bazel.flags }} -- //...
notice_once:
name: notice_once (notice-once, bazel-9)
runs-on: ubuntu-latest
env:
USE_BAZEL_VERSION: "9.x"
steps:
- uses: actions/checkout@v6
- uses: aspect-build/setup-aspect@c22a8f64fb38f82f59ce809cd7eb9f8ae096da44 # v2026.23.2
with:
aspect-api-token: ${{ secrets.ASPECT_API_TOKEN }}
- name: notice-once integration test
run: bash examples/notice_once/test.sh
missing_lockfile:
name: missing_lockfile (missing-lockfile, bazel-9)
runs-on: ubuntu-latest
env:
USE_BAZEL_VERSION: "9.x"
steps:
- uses: actions/checkout@v6
- uses: aspect-build/setup-aspect@c22a8f64fb38f82f59ce809cd7eb9f8ae096da44 # v2026.23.2
with:
aspect-api-token: ${{ secrets.ASPECT_API_TOKEN }}
- name: missing-lockfile integration test
run: bash examples/missing_lockfile/test.sh