File tree Expand file tree Collapse file tree 1 file changed +20
-6
lines changed
Expand file tree Collapse file tree 1 file changed +20
-6
lines changed Original file line number Diff line number Diff line change @@ -22,19 +22,33 @@ jobs:
2222 - uses : actions/checkout@master
2323 - uses : jdx/mise-action@v2
2424 - run : mise run lint-ci
25+ - name : Check generated Bazel rules
26+ run : mise r gen-bazel-rules && git diff --quiet --exit-code
2527 bazel :
26- runs-on : macos-26
27- name : Bazel
28+ name : Bazel (${{ matrix.os }})
29+ strategy :
30+ fail-fast : false
31+ matrix :
32+ os : [macOS, Linux]
33+ include :
34+ - os : macOS
35+ runs-on : macos-26
36+ - os : Linux
37+ runs-on : ubuntu-latest
38+ container : swift:latest
39+ cc : clang
40+ runs-on : ${{ matrix.runs-on }}
41+ container : ${{ matrix.container }}
42+ env :
43+ CC : ${{ matrix.cc }}
2844 steps :
2945 - uses : actions/checkout@master
30- - uses : jdx/mise-action@v2
3146 - uses : bazel-contrib/setup-bazel@0.15.0
3247 with :
48+ bazelisk-version : 1.x
3349 bazelisk-cache : true
34- disk-cache : ${{ github.workflow }}
50+ disk-cache : ${{ github.workflow }}-${{ matrix.os }}
3551 repository-cache : true
36- - name : Check generated rules
37- run : mise r gen-bazel-rules && git diff --quiet --exit-code
3852 - name : Scan
3953 run : bazel run //:periphery -- scan --bazel --quiet --strict --baseline baselines/bazel.json
4054 macOS :
You can’t perform that action at this time.
0 commit comments