From 7b4ca9b055b19407b16b364a78a0f1e36263672a Mon Sep 17 00:00:00 2001 From: Jason Bedard Date: Fri, 20 Jun 2025 14:38:32 -0700 Subject: [PATCH] ci: setup aspect workflows --- .aspect/workflows/bazelrc | 3 +++ .aspect/workflows/config.yaml | 22 ++++++++++++++++++++++ .github/workflows/ci.yaml | 5 +++++ 3 files changed, 30 insertions(+) create mode 100644 .aspect/workflows/bazelrc create mode 100644 .aspect/workflows/config.yaml diff --git a/.aspect/workflows/bazelrc b/.aspect/workflows/bazelrc new file mode 100644 index 0000000..51dae69 --- /dev/null +++ b/.aspect/workflows/bazelrc @@ -0,0 +1,3 @@ +# build without the bytes +common --remote_download_outputs=minimal +common --nobuild_runfile_links diff --git a/.aspect/workflows/config.yaml b/.aspect/workflows/config.yaml new file mode 100644 index 0000000..bb62000 --- /dev/null +++ b/.aspect/workflows/config.yaml @@ -0,0 +1,22 @@ +# See https://docs.aspect.build/workflows/configuration +workspaces: + .: + icon: rollup + label: rules_rollup + e2e/smoke: + icon: bazel + tasks: + - test: + queue: aspect-medium + - buildifier: + without: true +tasks: + - checkout: + update_strategy: rebase + - test: + - buildifier: + queue: aspect-medium + - finalization: + queue: aspect-small +notifications: + github: {} diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index d1a56fb..0ee87e8 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -78,6 +78,11 @@ jobs: bazel-version: major: 6 + # Linux on the primary bazel version is tested on Aspect Workflows + - os: ubuntu + bazel-version: + major: 7 + bzlmod: 1 steps: - uses: actions/checkout@v4