Skip to content

Commit fd8b1fe

Browse files
1 parent 317bec0 commit fd8b1fe

File tree

5 files changed

+69
-1
lines changed

5 files changed

+69
-1
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
"Bazel dependencies"
2+
3+
module(
4+
name = "aspect_rules_lint",
5+
version = "0.19.0",
6+
compatibility_level = 1,
7+
)
8+
9+
bazel_dep(name = "aspect_bazel_lib", version = "2.5.0")
10+
11+
# Needed in the root because we use js_lib_helpers in our aspect impl
12+
# Minimum version needs 'chore: bump bazel-lib to 2.0 by @alexeagle in #1311'
13+
# to allow users on bazel-lib 2.0
14+
bazel_dep(name = "aspect_rules_js", version = "1.40.0")
15+
bazel_dep(name = "bazel_skylib", version = "1.4.2")
16+
bazel_dep(name = "platforms", version = "0.0.7")
17+
bazel_dep(name = "rules_multirun", version = "0.9.0")
18+
bazel_dep(name = "rules_multitool", version = "0.4.0")
19+
20+
# Needed in the root because we dereference ProtoInfo in our aspect impl
21+
bazel_dep(name = "rules_proto", version = "6.0.0-rc2")
22+
23+
# Needed in the root because we dereference the toolchain in our aspect impl
24+
bazel_dep(name = "rules_buf", version = "0.1.1")
25+
bazel_dep(name = "toolchains_protoc", version = "0.2.1")
26+
27+
multitool = use_extension("@rules_multitool//multitool:extension.bzl", "multitool")
28+
multitool.hub(lockfile = "//format:multitool.lock.json")
29+
multitool.hub(lockfile = "//lint:multitool.lock.json")
30+
use_repo(multitool, "multitool")
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
===================================================================
2+
--- a/MODULE.bazel
3+
+++ b/MODULE.bazel
4+
@@ -1,9 +1,9 @@
5+
"Bazel dependencies"
6+
7+
module(
8+
name = "aspect_rules_lint",
9+
- version = "0.0.0",
10+
+ version = "0.19.0",
11+
compatibility_level = 1,
12+
)
13+
14+
bazel_dep(name = "aspect_bazel_lib", version = "2.5.0")
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
bcr_test_module:
2+
module_path: "example"
3+
matrix:
4+
bazel: ["7.x", "6.x"]
5+
platform: ["debian10", "macos", "ubuntu2004"]
6+
tasks:
7+
run_tests:
8+
name: "Run test module"
9+
bazel: ${{ bazel }}
10+
platform: ${{ platform }}
11+
environment:
12+
BAZELISK_BASE_URL: "https://github.com/bazelbuild/bazel/releases/download/"
13+
test_targets:
14+
- "//..."
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"integrity": "sha256-XJ7GgsTSW9BaEUDgqF0SDrN51G41v1dwyD/68NtoDDw=",
3+
"strip_prefix": "rules_lint-0.19.0",
4+
"url": "https://github.com/aspect-build/rules_lint/releases/download/v0.19.0/rules_lint-v0.19.0.tar.gz",
5+
"patches": {
6+
"module_dot_bazel_version.patch": "sha256-5CHzO4PoC5fgSKl/HHnMm+10chs5HFEigTnGnBGUoRQ="
7+
},
8+
"patch_strip": 1
9+
}

modules/aspect_rules_lint/metadata.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@
3232
"0.15.0",
3333
"0.16.0",
3434
"0.17.0",
35-
"0.18.0"
35+
"0.18.0",
36+
"0.19.0"
3637
],
3738
"yanked_versions": {}
3839
}

0 commit comments

Comments
 (0)