Skip to content

Add CI job to force WORKSPACE usage - #258

Open
furtib wants to merge 1 commit into
Ericsson:mainfrom
furtib:ci-workspace-force-test
Open

Add CI job to force WORKSPACE usage#258
furtib wants to merge 1 commit into
Ericsson:mainfrom
furtib:ci-workspace-force-test

Conversation

@furtib

@furtib furtib commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

Why:
We currently have no CI workflow using our workspace file.
Since Bazel 7 (the last version that) supports WORKSPACE files, we should test it working with just the workspace file too, not just with the MODULE.bazel file.

What:

  • Add new workflow for bazel 7.7.1 forcing workspace usage.

Addresses:
none

@furtib
furtib requested a review from Szelethus July 5, 2026 10:26
@furtib furtib self-assigned this Jul 5, 2026
@furtib furtib added the CI 📦 label Jul 5, 2026
@Szelethus

Copy link
Copy Markdown
Collaborator

Why don't we enable this for bazel 8? I thought workspace will only be disabled by bazel 9. Or shall we declare that we only support workspace before bazel 8?

Comment on lines +44 to +51
- bazel_version: "7.7.1"
bazel_mode: "workspace"

- bazel_version: "7.7.1"
bazel_mode: "module"

- bazel_version: "8.5.1"
bazel_mode: "module"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks trivial from in the context of the PR, but lets rationalize this with a few comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants