Skip to content

Commit b0091cc

Browse files
publish-to-bcr-bot[bot]aiuto
authored andcommitted
1 parent d5fa6d6 commit b0091cc

File tree

5 files changed

+73
-1
lines changed

5 files changed

+73
-1
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
"Bazel dependencies"
2+
3+
module(
4+
name = "aspect_rules_lint",
5+
version = "0.15.0",
6+
compatibility_level = 1,
7+
)
8+
9+
bazel_dep(name = "aspect_bazel_lib", version = "1.38.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.33.1")
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 = "5.3.0-21.7")
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+
26+
# Needed due to rules_proto leaking the dependency
27+
bazel_dep(name = "protobuf", version = "21.7", repo_name = "com_google_protobuf")
28+
29+
# Needed to get the 'go_context' symbol, to invoke golangci-lint
30+
bazel_dep(name = "rules_go", version = "0.39.1", repo_name = "io_bazel_rules_go")
31+
32+
multitool = use_extension("@rules_multitool//multitool:extension.bzl", "multitool")
33+
multitool.hub(lockfile = "//format:multitool.lock.json")
34+
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.15.0",
11+
compatibility_level = 1,
12+
)
13+
14+
bazel_dep(name = "aspect_bazel_lib", version = "1.38.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-5b4LppNdJ0l5ChkxQIhpLotR9T0V+AMN8KGHNJiNdLI=",
3+
"strip_prefix": "rules_lint-0.15.0",
4+
"url": "https://github.com/aspect-build/rules_lint/releases/download/v0.15.0/rules_lint-v0.15.0.tar.gz",
5+
"patches": {
6+
"module_dot_bazel_version.patch": "sha256-9iMq5CjqPqj3UecvkfSSJW7KVA+VLkYy1wTigPVbKfg="
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
@@ -28,7 +28,8 @@
2828
"0.13.0",
2929
"0.14.0",
3030
"0.14.1",
31-
"0.14.2"
31+
"0.14.2",
32+
"0.15.0"
3233
],
3334
"yanked_versions": {}
3435
}

0 commit comments

Comments
 (0)