Skip to content

Commit cea8d74

Browse files
committed
Test setup-bazel with GC
1 parent 60302ba commit cea8d74

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

.github/workflows/bazel.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -122,21 +122,21 @@ jobs:
122122
node-version: ${{ inputs.node-version }}
123123
- name: Setup Bazel with caching
124124
if: inputs.caching
125-
uses: bazel-contrib/setup-bazel@0.13.0
125+
uses: calebzulawski/setup-bazel@feature/disk-cache
126126
with:
127127
bazelisk-cache: true
128128
bazelrc: common --color=yes
129-
cache-version: 2
130-
disk-cache: ${{ inputs.cache-key }}
129+
cache-prefix: 3-${{ github.job }}-${{ inputs.os }}-${{ inputs.cache-key }}
131130
external-cache: |
132131
name: ${{ inputs.cache-key }}
133132
manifest:
134133
crates: rust/Cargo.Bazel.lock
135134
rules_ruby++ruby+ruby: ${{ inputs.os == 'windows' && 'false' || 'rb/.ruby-version' }}
135+
disk-cache: true
136136
repository-cache: true
137137
- name: Setup Bazel without caching
138138
if: inputs.caching == false
139-
uses: bazel-contrib/setup-bazel@0.13.0
139+
uses: calebzulawski/setup-bazel@feature/disk-cache
140140
with:
141141
bazelrc: common --color=yes
142142
- name: Setup Fluxbox and Xvfb

.github/workflows/ci.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,16 @@ jobs:
2525
with:
2626
fetch-depth: 50
2727
- name: Setup Bazel
28-
uses: bazel-contrib/setup-bazel@0.13.0
28+
uses: calebzulawski/setup-bazel@feature/disk-cache
2929
with:
3030
bazelisk-cache: true
31-
cache-version: 2
31+
bazelrc: common --color=yes
32+
cache-prefix: 3-${{ github.job }}
3233
external-cache: |
33-
name: ci-check
34+
name: check
3435
manifest:
3536
crates: rust/Cargo.Bazel.lock
36-
rules_ruby~~ruby~ruby: rb/.ruby-version
37+
rules_ruby++ruby+ruby: ${{ runner.os == 'windows' && 'false' || 'rb/.ruby-version' }}
3738
repository-cache: true
3839
- name: Check Bazel targets
3940
id: check-targets

0 commit comments

Comments
 (0)