Skip to content

Commit

Permalink
test with old bazel
Browse files Browse the repository at this point in the history
  • Loading branch information
grencez committed Jun 14, 2024
1 parent e23e242 commit 5943d5d
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 6 deletions.
27 changes: 22 additions & 5 deletions .github/workflows/test_bazel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Bazel Setup
uses: jwlawson/actions-setup-bazel@v2
with:
bazel-version: '7.1.1'
bazel-version: latest

- name: Bazel Version
run: bazel --version
Expand Down Expand Up @@ -52,11 +52,28 @@ jobs:
!bazel-bin*/**/*.runfiles*
coverage:
test_with_old_bazel:
runs-on: ubuntu-latest
steps:
- name: Bazel Setup
uses: jwlawson/actions-setup-bazel@v2
with:
bazel-version: "5.4.1"
- name: Checkout
uses: actions/checkout@v4
- name: Prepare
run: touch WORKSPACE
- name: Test
run: >
bazel test
--check_direct_dependencies=error
--experimental_enable_bzlmod
--ignore_dev_dependency
-- //... -//test/benchmark/...
strategy:
fail-fast: false
coverage:
runs-on: ubuntu-latest

steps:
- name: Cache Setup
Expand All @@ -69,7 +86,7 @@ jobs:
- name: Bazel Setup
uses: jwlawson/actions-setup-bazel@v2
with:
bazel-version: 'latest'
bazel-version: latest

- name: Checkout
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ bazel_dep(name = "protobuf", version = "3.19.6")

git_override(
module_name = "fildesh",
commit = "b8ff76bc9f8aa9b063a04891a7ad0460f3522d88",
commit = "5b4fbf83f7cab00aae7a5db8b14e51fbc5b997d2",
remote = "https://github.com/grencez/fildesh.git",
)

Expand Down
Empty file removed WORKSPACE.bazel
Empty file.

0 comments on commit 5943d5d

Please sign in to comment.