Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 14 additions & 10 deletions .aspect/workflows/config.yaml
Original file line number Diff line number Diff line change
@@ -1,22 +1,26 @@
# See https://docs.aspect.build/v/workflows/config
---
workspaces:
- .:
tasks:
- bzlmod-false:
without: true
- .
- example
bazel:
flags:
- --config=ci
tasks:
- test:
name: "Bazel 7"
id: bazel-7
env:
USE_BAZEL_VERSION: 7.x
- test:
name: "Test (WORKSPACE)"
id: bzlmod-false
bazel:
flags:
- --noenable_bzlmod
- --enable_workspace
name: Bazel 8
id: bazel-8
env:
USE_BAZEL_VERSION: 8.x
- test:
name: Bazel 9
id: bazel-9
env:
USE_BAZEL_VERSION: 9.*
notifications:
github: {}
7 changes: 3 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
uses: jaxxstorm/action-install-gh-release@v2.1.0
with:
repo: aspect-build/aspect-cli
tag: v2025.46.6
tag: v2025.50.5
asset-name: aspect-cli
rename-to: aspect
platform: unknown-linux
Expand All @@ -77,8 +77,8 @@ jobs:
# - windows-latest
version:
- 7.x
# TODO(alex): missing use_repo calls for some things in WORKSPACE.bzlmod
# - 8.x
- 8.x
- 9.*

runs-on: ${{ matrix.os }}
steps:
Expand All @@ -92,6 +92,5 @@ jobs:
- name: Test
working-directory: example
env:
BAZELISK_BASE_URL: https://github.com/bazelbuild/bazel/releases/download
USE_BAZEL_VERSION: ${{ matrix.version }}
run: bazel test //...
1 change: 1 addition & 0 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ bazel_dep(name = "bazel_features", version = "1.0.0")
bazel_dep(name = "bazel_lib", version = "3.0.0")
bazel_dep(name = "bazel_skylib", version = "1.4.2")
bazel_dep(name = "platforms", version = "0.0.7")
bazel_dep(name = "rules_java", version = "7.3.1")
bazel_dep(name = "rules_multirun", version = "0.9.0")
bazel_dep(name = "rules_multitool", version = "0.11.0")
bazel_dep(name = "rules_diff", version = "1.0.0")
Expand Down
16 changes: 0 additions & 16 deletions example/.aspect/cli/config.yaml

This file was deleted.

16 changes: 16 additions & 0 deletions example/.bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,21 @@ startup --windows_enable_symlinks
common:linux --action_env=BAZEL_CXXOPTS="-std=c++20"
common:windows --action_env=BAZEL_CXXOPTS="/std:c++20"

# TODO: enable linters
# - //tools/lint:linters.bzl%eslint
# - //tools/lint:linters.bzl%buf
# - //tools/lint:linters.bzl%flake8
# - //tools/lint:linters.bzl%ktlint
# - //tools/lint:linters.bzl%pmd
# - //tools/lint:linters.bzl%stylelint
# - //tools/lint:linters.bzl%ruff
common:lint --aspects=//tools/lint:linters.bzl%vale
# - //tools/lint:linters.bzl%checkstyle
# - //tools/lint:linters.bzl%clang_tidy
# - //tools/lint:linters.bzl%cppcheck
# - //tools/lint:linters.bzl%clippy
# - //tools/lint:linters.bzl%spotbugs
# - //tools/lint:linters.bzl%keep_sorted

# Import user.bazelrc from the root of the examples workspace.
try-import %workspace%/user.bazelrc
1 change: 1 addition & 0 deletions example/MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -208,3 +208,4 @@ use_repo(
"vale_macOS_arm64",
"vale_write-good",
)
use_repo(lint_tools, "vale_Google", "vale_Linux_64-bit", "vale_Linux_arm64", "vale_Windows_64-bit", "vale_macOS_64-bit", "vale_macOS_arm64", "vale_write-good")
Loading
Loading