Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
publish-to-bcr-bot[bot] and alexeagle committed Mar 14, 2024
1 parent bd80414 commit 935d23d
Show file tree
Hide file tree
Showing 5 changed files with 72 additions and 1 deletion.
33 changes: 33 additions & 0 deletions modules/aspect_rules_lint/0.14.2/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
"Bazel dependencies"

module(
name = "aspect_rules_lint",
version = "0.14.2",
compatibility_level = 1,
)

bazel_dep(name = "aspect_bazel_lib", version = "1.38.0")

# Needed in the root because we use js_lib_helpers in our aspect impl
# Minimum version needs 'chore: bump bazel-lib to 2.0 by @alexeagle in #1311'
# to allow users on bazel-lib 2.0
bazel_dep(name = "aspect_rules_js", version = "1.33.1")
bazel_dep(name = "bazel_skylib", version = "1.4.2")
bazel_dep(name = "platforms", version = "0.0.7")
bazel_dep(name = "rules_multitool", version = "0.4.0")

# Needed in the root because we dereference ProtoInfo in our aspect impl
bazel_dep(name = "rules_proto", version = "5.3.0-21.7")

# Needed in the root because we dereference the toolchain in our aspect impl
bazel_dep(name = "rules_buf", version = "0.1.1")

# Needed due to rules_proto leaking the dependency
bazel_dep(name = "protobuf", version = "21.7", repo_name = "com_google_protobuf")

# Needed to get the 'go_context' symbol, to invoke golangci-lint
bazel_dep(name = "rules_go", version = "0.39.1", repo_name = "io_bazel_rules_go")

multitool = use_extension("@rules_multitool//multitool:extension.bzl", "multitool")
multitool.hub(lockfile = "//format:multitool.lock.json")
use_repo(multitool, "multitool")
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
===================================================================
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -1,9 +1,9 @@
"Bazel dependencies"

module(
name = "aspect_rules_lint",
- version = "0.0.0",
+ version = "0.14.2",
compatibility_level = 1,
)

bazel_dep(name = "aspect_bazel_lib", version = "1.38.0")
14 changes: 14 additions & 0 deletions modules/aspect_rules_lint/0.14.2/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
bcr_test_module:
module_path: "example"
matrix:
bazel: ["7.x", "6.x"]
platform: ["debian10", "macos", "ubuntu2004"]
tasks:
run_tests:
name: "Run test module"
bazel: ${{ bazel }}
platform: ${{ platform }}
environment:
BAZELISK_BASE_URL: "https://github.com/bazelbuild/bazel/releases/download/"
test_targets:
- "//..."
9 changes: 9 additions & 0 deletions modules/aspect_rules_lint/0.14.2/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"integrity": "sha256-B91iWIlHV+RNsaXdNlBzHBQyytd5Wv2qbZRdS6O4T2g=",
"strip_prefix": "rules_lint-0.14.2",
"url": "https://github.com/aspect-build/rules_lint/releases/download/v0.14.2/rules_lint-v0.14.2.tar.gz",
"patches": {
"module_dot_bazel_version.patch": "sha256-WU8FmPO5ChiCU1Xn8//mvVbwiXdVhcu28JpX7PmfmU0="
},
"patch_strip": 1
}
3 changes: 2 additions & 1 deletion modules/aspect_rules_lint/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
"0.12.0",
"0.13.0",
"0.14.0",
"0.14.1"
"0.14.1",
"0.14.2"
],
"yanked_versions": {}
}

0 comments on commit 935d23d

Please sign in to comment.