Skip to content

Commit

Permalink
chore: upgrade bazel-starlib and add tidy_all
Browse files Browse the repository at this point in the history
  • Loading branch information
cgrindel committed Aug 15, 2023
1 parent fa3c063 commit 6b9a146
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
8 changes: 7 additions & 1 deletion .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,11 @@
"extends": [
"github>cgrindel/renovate_presets:ruleset_base",
"github>cgrindel/renovate_presets:cgrindel_default"
]
],
"postUpgradeTasks": {
"commands": [
"bazelisk run //:tidy_modified"
],
"executionMode": "branch"
}
}
9 changes: 8 additions & 1 deletion BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ load(
"bzlformat_missing_pkgs",
"bzlformat_pkg",
)
load("@cgrindel_bazel_starlib//bzltidy:defs.bzl", "tidy")
load("@cgrindel_bazel_starlib//bzltidy:defs.bzl", "tidy", "tidy_all")
load(
"@cgrindel_bazel_starlib//updatesrc:defs.bzl",
"updatesrc_update_all",
Expand Down Expand Up @@ -33,6 +33,13 @@ tidy(
],
)

tidy_all(name = "tidy_all")

tidy_all(
name = "tidy_modified",
mode = "modified",
)

updatesrc_update_all(
name = "update_all",
targets_to_run = [
Expand Down
2 changes: 1 addition & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module(

bazel_dep(name = "platforms", version = "0.0.6")
bazel_dep(name = "bazel_skylib", version = "1.4.2")
bazel_dep(name = "cgrindel_bazel_starlib", version = "0.16.1")
bazel_dep(name = "cgrindel_bazel_starlib", version = "0.16.2")
bazel_dep(
name = "rules_swift",
version = "1.9.0",
Expand Down

0 comments on commit 6b9a146

Please sign in to comment.