From c23ff156cee4f263498b03de4d92584fb2cc57f0 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 3 Jul 2026 17:58:42 +0000 Subject: [PATCH 1/3] chore(deps): aggregate 8 open Renovate PRs into one update Consolidates every currently-open Renovate dependency-update PR (#58, #59, #61, #62, #63, #65, #66, #67) into a single change, since they're all independent, non-conflicting version bumps: - actions/checkout v6 -> v7 (ci.yaml, buildifier.yaml, tag.yaml) - actions/cache v5 -> v6 (ci.yaml) - bazel-contrib/setup-bazel 0.18.0 -> 0.19.0 (ci.yaml) - bazel-contrib/.github v7.4.0 -> v7.7.0 (release.yaml) - bazel-contrib/publish-to-bcr v1.1.0 -> v1.4.1 (publish.yaml) - keith/pre-commit-buildifier 8.2.1 -> 8.5.1 (.pre-commit-config.yaml) - commitizen-tools/commitizen v4.13.8 -> v4.16.4 (.pre-commit-config.yaml) - crate-ci/typos v1.43.5 -> v1.48.0 (.pre-commit-config.yaml) Once this merges, Renovate will auto-close the individual PRs on its next run since their diffs are already applied to main. --- .github/workflows/buildifier.yaml | 2 +- .github/workflows/ci.yaml | 8 ++++---- .github/workflows/publish.yaml | 2 +- .github/workflows/release.yaml | 2 +- .github/workflows/tag.yaml | 2 +- .pre-commit-config.yaml | 6 +++--- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/buildifier.yaml b/.github/workflows/buildifier.yaml index c799b9e..c59ea23 100644 --- a/.github/workflows/buildifier.yaml +++ b/.github/workflows/buildifier.yaml @@ -12,7 +12,7 @@ jobs: check: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - name: Install erlang run: | sudo apt-get update -y diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 1c85851..378c194 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -23,7 +23,7 @@ jobs: os: [ubuntu-latest, macos-latest] steps: - name: Checkout repository - uses: actions/checkout@v6 + uses: actions/checkout@v7 - name: Set up Erlang (Linux) if: runner.os == 'Linux' run: | @@ -42,7 +42,7 @@ jobs: echo "Installing Erlang..." brew install erlang - name: Set up Bazel - uses: bazel-contrib/setup-bazel@0.18.0 + uses: bazel-contrib/setup-bazel@0.19.0 # No version-related input: this action's valid inputs are bazelisk-version (which # Bazel version *fetching tool* to install, not which Bazel itself) plus cache/output # knobs -- it has no "version" input despite a previous revision of this file passing @@ -50,7 +50,7 @@ jobs: # Bazel version is resolved by Bazelisk from .bazelversion at the repo root, same as # any local `bazel` invocation. - name: Mount Bazel cache - uses: actions/cache@v5 + uses: actions/cache@v6 with: path: | ~/.cache/bazel @@ -212,7 +212,7 @@ jobs: pre-commit: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - uses: pre-commit/action@v3.0.1 conclusion: name: Test Conclusion diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index be4a07a..ff9a686 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -21,7 +21,7 @@ on: type: string jobs: publish: - uses: bazel-contrib/publish-to-bcr/.github/workflows/publish.yaml@v1.1.0 + uses: bazel-contrib/publish-to-bcr/.github/workflows/publish.yaml@v1.4.1 with: tag_name: ${{ inputs.tag_name }} # GitHub repository which is a fork of the upstream where the Pull Request will be opened. diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index b06ec93..4efaf76 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -20,7 +20,7 @@ permissions: contents: write jobs: release: - uses: bazel-contrib/.github/.github/workflows/release_ruleset.yaml@v7.4.0 + uses: bazel-contrib/.github/.github/workflows/release_ruleset.yaml@v7.7.0 with: bazel_test_command: "echo 'Skipping tests'" release_files: muchq_rules_gleam-*.tar.gz diff --git a/.github/workflows/tag.yaml b/.github/workflows/tag.yaml index dfe0aad..1b76045 100644 --- a/.github/workflows/tag.yaml +++ b/.github/workflows/tag.yaml @@ -25,7 +25,7 @@ jobs: new-tag: ${{ steps.ccv.outputs.new-tag }} new-tag-version: ${{steps.ccv.outputs.new-tag-version}} steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 with: # Need enough history to find the prior release tag fetch-depth: 0 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3935fb2..6af62f0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -30,13 +30,13 @@ repos: - id: trailing-whitespace # Check formatting and lint for starlark code - repo: https://github.com/keith/pre-commit-buildifier - rev: 8.2.1 + rev: 8.5.1 hooks: - id: buildifier - id: buildifier-lint # Enforce that commit messages allow for later changelog generation - repo: https://github.com/commitizen-tools/commitizen - rev: v4.13.8 + rev: v4.16.4 hooks: # Requires that commitizen is already installed - id: commitizen @@ -54,6 +54,6 @@ repos: .bcr/config.yml ) - repo: https://github.com/crate-ci/typos - rev: v1.43.5 + rev: v1.48.0 hooks: - id: typos From bb0d19d8fc70c1efe2ea91437c09ebb9c1c8b7fd Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 3 Jul 2026 18:00:12 +0000 Subject: [PATCH 2/3] fix(test): suppress a new buildifier external-path lint false positive buildifier-lint 8.5.1 (bumped in the previous commit) added the external-path check, which flags any string literal containing "/external/" as a possibly-fragile dependency on Bazel's external-repo directory layout. This one is a test fixture literal simulating a real external-repo File's short_path, not actual path-construction logic in a rule implementation (resolve_erl_invocation itself never hardcodes "external/") -- a legitimate false positive here, suppressed the same way bzl-visibility already is elsewhere in this file. --- test/unit/erlang_otp_tree/erlang_otp_tree_test.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/erlang_otp_tree/erlang_otp_tree_test.bzl b/test/unit/erlang_otp_tree/erlang_otp_tree_test.bzl index baee01a..a2ac414 100644 --- a/test/unit/erlang_otp_tree/erlang_otp_tree_test.bzl +++ b/test/unit/erlang_otp_tree/erlang_otp_tree_test.bzl @@ -46,7 +46,7 @@ def _bundles_runfiles_relative_path_when_otp_tree_present_test_impl(ctx): # This exact shape is what gleam_release got wrong before PR #85: it must be a # runfiles-relative path (quoted, joined with $RF and the workspace name), never the # toolchain's own absolute build-machine path. - asserts.equals(env, '"$RF/my_ws/external/foo/otp/bin/erl"', invocation) + asserts.equals(env, '"$RF/my_ws/external/foo/otp/bin/erl"', invocation) # buildifier: disable=external-path asserts.equals(env, files, extra_runfiles) return unittest.end(env) From 84487a8c02c0522a2b29a9246754eba6d7ed0dcb Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 3 Jul 2026 18:02:58 +0000 Subject: [PATCH 3/3] chore: remove no-op compatibility_level from MODULE.bazel Bazel 9 warns that module()'s compatibility_level attribute is a no-op and will be removed in a future release. --- MODULE.bazel | 1 - 1 file changed, 1 deletion(-) diff --git a/MODULE.bazel b/MODULE.bazel index 7f0bef5..d545e51 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -3,7 +3,6 @@ module( name = "muchq_rules_gleam", version = "0.0.0", - compatibility_level = 1, ) bazel_dep(name = "bazel_skylib", version = "1.9.0")