diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 959f433..0ad5e1a 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -14,7 +14,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-latest] - bazel_version: ['6.5.0', '7.6.1', '8.4.0'] + bazel_version: ['7.6.1', '8.4.0', '9.2.0'] steps: - name: Checkout uses: actions/checkout@v4 @@ -47,7 +47,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-latest] - bazel_version: ['7.6.1', '8.4.0'] + bazel_version: ['7.6.1', '8.4.0', '9.2.0'] steps: - name: Checkout uses: actions/checkout@v4 diff --git a/MODULE.bazel b/MODULE.bazel index 009fff3..ab107b3 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -16,11 +16,11 @@ module( name = "com_github_benchsci_rules_nodejs_gazelle", version = "0.0.0", - compatibility_level = 1, ) bazel_dep(name = "rules_go", version = "0.60.0", repo_name = "io_bazel_rules_go") bazel_dep(name = "gazelle", version = "0.47.0", repo_name = "bazel_gazelle") +bazel_dep(name = "rules_shell", version = "0.4.1") go_deps = use_extension("@bazel_gazelle//:extensions.bzl", "go_deps") go_deps.from_file(go_mod = "//:go.mod") diff --git a/WORKSPACE b/WORKSPACE index 6b99a64..1083f9f 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -35,6 +35,15 @@ http_archive( ], ) +http_archive( + name = "rules_shell", + sha256 = "bc61ef94facc78e20a645726f64756e5e285a045037c7a61f65af2941f4c25e1", + strip_prefix = "rules_shell-0.4.1", + urls = [ + "https://github.com/bazel-contrib/rules_shell/releases/download/v0.4.1/rules_shell-v0.4.1.tar.gz", + ], +) + load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies") load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies") diff --git a/tests/BUILD b/tests/BUILD index 6a1abd5..719ee9a 100644 --- a/tests/BUILD +++ b/tests/BUILD @@ -1,4 +1,5 @@ load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") +load("@rules_shell//shell:sh_test.bzl", "sh_test") # Copyright 2019 The Bazel Authors. All rights reserved. # Modifications copyright (C) 2021 BenchSci Analytics Inc.