Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,47 @@ jobs:
run: bazel $env:BAZEL_STARTUP_FLAGS test //...
if: startswith(runner.os, 'Windows')

ci-min-bazel:
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: macos-14
- os: ubuntu-22.04
- os: ubuntu-24.04-arm
- os: windows-latest
steps:
# Checkout the code
- uses: actions/checkout@v4

- uses: bazel-contrib/setup-bazel@0.14.0
with:
bazelisk-cache: true
disk-cache: ${{ github.workflow }}
repository-cache: true

- name: Setup Bazelrc (Windows)
run: |
echo "startup --output_user_root=C:/bzl" > ./user.bazelrc
if: startswith(runner.os, 'Windows')
- name: Setup Bazelrc
run: |
echo "common --config=strict" >> ./user.bazelrc
echo "common --keep_going" >> ./user.bazelrc

# Build and Test the code
- name: Test (Unix)
run: bazel ${BAZEL_STARTUP_FLAGS[@]} test //...
if: startswith(runner.os, 'Windows') != true
env:
USE_BAZEL_VERSION: 7.x
- name: Test (Windows)
run: bazel $env:BAZEL_STARTUP_FLAGS test //...
if: startswith(runner.os, 'Windows')
env:
USE_BAZEL_VERSION: 7.x


ci-buildifier:
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

module(
name = "rules_helm",
version = "0.20.0",
version = "0.20.1",
compatibility_level = 1,
)

Expand Down
2 changes: 1 addition & 1 deletion helm/private/repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def _helm_toolchain_repository_impl(repository_ctx):
results = repository_ctx.download_and_extract(
repository_ctx.attr.urls,
integrity = repository_ctx.attr.integrity,
strip_prefix = repository_ctx.attr.strip_prefix,
stripPrefix = repository_ctx.attr.strip_prefix,
)

if repository_ctx.attr.platform.startswith("windows"):
Expand Down
2 changes: 1 addition & 1 deletion version.bzl
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
""" Version info for the `rules_helm` repository """

VERSION = "0.20.0"
VERSION = "0.20.1"
Loading