Skip to content

Commit 26241d4

Browse files
committed
ci: adding a job to test bzlmod integration
Testing bzlmod CI to test the integration
1 parent e1a4bc5 commit 26241d4

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/action.yml

+21
Original file line numberDiff line numberDiff line change
@@ -116,3 +116,24 @@ jobs:
116116
import %workspace%/../../.aspect/bazelrc/ci.bazelrc
117117
import %workspace%/../../.github/workflows/ci.bazelrc
118118
- run: cd e2e/bazel-bzlmod-toolchain-from-source && USE_BAZEL_VERSION=${{ matrix.config.version }} bazelisk build //... ${{ matrix.config.flags }}
119+
120+
e2e-bzlmod-lock-file-from-args:
121+
runs-on: ubuntu-latest
122+
steps:
123+
- uses: actions/checkout@v4
124+
- uses: bazel-contrib/[email protected]
125+
with:
126+
# Avoid downloading Bazel every time.
127+
bazelisk-cache: true
128+
# Keep a disk-cache
129+
disk-cache: true
130+
# Share repository cache between workflows.
131+
repository-cache: true
132+
# enable some flags for CI
133+
bazelrc: |
134+
import %workspace%/../../.aspect/bazelrc/ci.bazelrc
135+
import %workspace%/../../.github/workflows/ci.bazelrc
136+
- run: |
137+
cd e2e/bzlmod-lock-file-from-args && \
138+
bazelisk run @bazeldnf_rpms//:update-lock-file && \
139+
bazelisk build ...

0 commit comments

Comments
 (0)