Skip to content

Commit 65525d8

Browse files
authored
chore(deps): aspect cli v2025.45.71 (#657)
1 parent af01019 commit 65525d8

File tree

3 files changed

+12
-17
lines changed

3 files changed

+12
-17
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,13 @@ jobs:
5353
uses: jaxxstorm/[email protected]
5454
with:
5555
repo: aspect-build/aspect-cli
56-
tag: 2025.45.31
56+
tag: v2025.45.71
5757
asset-name: aspect-cli
58-
platform: unknown_linux
59-
arch: x86_64
60-
extension-matching: disable
6158
rename-to: aspect
59+
platform: unknown-linux
60+
arch: x86_64
6261
chmod: 0755
62+
extension-matching: disable
6363
- name: Lint
6464
working-directory: example
6565
run: aspect lint

format/format.axl

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,12 @@ def find_changed_files(out, process, base_ref: str = "origin/main"):
4141

4242
# buildifier: disable=function-docstring
4343
def build_formatter(ctx: TaskContext) -> str:
44+
ctx.std.io.stdout.write("Building formatter...\n")
45+
4446
build = ctx.bazel.build(
4547
ctx.args.format_target,
46-
events = True,
47-
bazel_flags = [
48+
build_events = True,
49+
flags = [
4850
"--build_runfile_links",
4951
"--noallow_analysis_cache_discard",
5052
],
@@ -53,21 +55,14 @@ def build_formatter(ctx: TaskContext) -> str:
5355
# Find the entrypoint by watching for the named_set_of_files build event.
5456
entrypoint = None
5557

56-
for event in build.events():
57-
if event.kind == "progress":
58-
ctx.std.io.stdout.write(event.payload.stdout)
59-
ctx.std.io.stdout.flush()
60-
ctx.std.io.stderr.write(event.payload.stderr)
61-
ctx.std.io.stderr.flush()
62-
continue
58+
for event in build.build_events():
6359
if event.kind == "named_set_of_files":
6460
for file in event.payload.files:
6561
if len(file.path_prefix) == 0:
6662
continue
6763
entrypoint = file.file.removeprefix("file://")
6864
break
6965

70-
ctx.std.io.stdout.write("Building formatter...\n")
7166
status = build.wait()
7267

7368
if not status.success:

lint/lint.axl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ def impl(ctx: TaskContext) -> int:
2323
# echo > nohup.out; nohup aspect-cli lint ; cat nohup.out
2424
flags.append("--output_groups=rules_lint_machine")
2525
build = ctx.bazel.build(
26-
bazel_flags = flags,
27-
events = True,
26+
flags = flags,
27+
build_events = True,
2828
*(ctx.args.targets or ["//..."])
2929
)
3030
github_output = ctx.std.env.var("GITHUB_OUTPUT")
3131
exit_code = 0
3232
patches = []
33-
for event in build.events():
33+
for event in build.build_events():
3434
if event.kind == "named_set_of_files":
3535
for file in event.payload.files:
3636
filepath = file.file.removeprefix("file://")

0 commit comments

Comments
 (0)