File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- common --lockfile_mode=off
1+ common --lockfile_mode=update
22common --enable_platform_specific_config
33
44common --registry=https://raw.githubusercontent.com/eclipse-score/bazel_registry/main/
Original file line number Diff line number Diff line change 2121 copyright-check :
2222 uses : eclipse-score/cicd-workflows/.github/workflows/copyright.yml@main
2323 with :
24- bazel-target : " run //:copyright.check"
24+ bazel-target : " run --lockfile_mode=error //:copyright.check"
Original file line number Diff line number Diff line change 2323 formatting-check :
2424 uses : eclipse-score/cicd-workflows/.github/workflows/format.yml@main
2525 with :
26- bazel-target : " test //:format.check" # optional, this is the default
26+ bazel-target : " test --lockfile_mode=error //:format.check" # optional, this is the default
Original file line number Diff line number Diff line change 77 steps :
88 - uses : actions/checkout@v4
99 - uses : bazelbuild/setup-bazelisk@v3
10- - run : scripts/run_all_tests.sh
10+ - run : ./ scripts/run_all_tests.sh
Original file line number Diff line number Diff line change @@ -56,10 +56,10 @@ if [ "${workspace}" == "all" -o "${workspace}" == "main" ];then
5656 # run_command "bazel --output_base=$HOME/.cache/bazel_tools_python/workspace_output_base test --config=use_workspace_mode --config=python_3_9 //..." "tests (workspace mode and python 3.9)"
5757
5858 # Run bazel test with bzlmod mode and python 3.12.
59- run_command " bazel --output_base=$HOME /.cache/bazel_tools_python/python_3_12_output_base test --config=python_3_12 //..." " tests (bzlmod mode and python 3.12)"
59+ run_command " bazel --lockfile_mode=error -- output_base=$HOME /.cache/bazel_tools_python/python_3_12_output_base test --config=python_3_12 //..." " tests (bzlmod mode and python 3.12)"
6060
6161 # Run bazel test with bzlmod mode.
62- run_command " bazel test //..." " tests (bzlmod mode)"
62+ run_command " bazel --lockfile_mode=error test //..." " tests (bzlmod mode)"
6363
6464 # Run python quality tools.
6565 run_command " bazel build --config=ruff_check --keep_going //..." " ruff_check"
You can’t perform that action at this time.
0 commit comments