File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4242 test-jre11-run-example :
4343 runs-on : ubuntu-latest
4444 strategy :
45+ fail-fast : false
4546 matrix :
46- bazel : ['7.x', '8.x']
47+ include :
48+ - bazel : ' 7.x'
49+ disable_workspace : ' false'
50+ extra_flags : ' '
51+ - bazel : ' 8.x'
52+ disable_workspace : ' true'
53+ extra_flags : ' '
54+ - bazel : ' 7.x'
55+ disable_workspace : ' false'
56+ extra_flags : ' --incompatible_disable_native_repo_rules'
4757 steps :
4858 - name : Setup Java JDK
4959 uses : actions/setup-java@v4
6474 - name : Run bazel-diff example script
6575 env :
6676 USE_BAZEL_VERSION : ${{ matrix.bazel }}
67- BAZEL_DIFF_DISABLE_WORKSPACE : ${{ matrix.bazel == '8.x' && 'true' || 'false' }}
68- BAZEL_DIFF_FORCE_CHECKOUT : true
69- run : ./bazel-diff-example.sh "$GITHUB_WORKSPACE" ~/go/bin/bazelisk $(git rev-parse HEAD~1) $(git rev-parse HEAD)
70- test-example-with-incompatible-flags :
71- runs-on : ubuntu-latest
72- strategy :
73- fail-fast : false
74- matrix :
75- include :
76- - name : incompatible_disable_native_repo_rules
77- extra_flags : " --incompatible_disable_native_repo_rules"
78- steps :
79- - name : Setup Java JDK
80- uses : actions/setup-java@v4
81- with :
82- distribution : ' temurin'
83- java-version : ' 11'
84- - name : Setup Go environment
85- uses : actions/setup-go@v5
86- with :
87- go-version : ^1.17
88- - name : Setup Bazelisk
89- run : go install github.com/bazelbuild/bazelisk@latest && export PATH=$PATH:$(go env GOPATH)/bin
90- - uses : actions/checkout@v4
91- with :
92- fetch-depth : 0
93- - name : Run bazel-diff example with incompatible flags (${{ matrix.name }})
94- env :
95- USE_BAZEL_VERSION : ' 7.x'
77+ BAZEL_DIFF_DISABLE_WORKSPACE : ${{ matrix.disable_workspace }}
9678 BAZEL_DIFF_FORCE_CHECKOUT : true
9779 BAZEL_EXTRA_COMMAND_OPTIONS : ${{ matrix.extra_flags }}
9880 run : ./bazel-diff-example.sh "$GITHUB_WORKSPACE" ~/go/bin/bazelisk $(git rev-parse HEAD~1) $(git rev-parse HEAD)
You can’t perform that action at this time.
0 commit comments