Test setup-bazel with GC [dotnet][java][py][rb][rust]
diff --git a/.github/workflows/bazel.yml b/.github/workflows/bazel.yml index 3f4a9f0..ba224bb 100644 --- a/.github/workflows/bazel.yml +++ b/.github/workflows/bazel.yml
@@ -122,21 +122,21 @@ node-version: ${{ inputs.node-version }} - name: Setup Bazel with caching if: inputs.caching - uses: bazel-contrib/setup-bazel@0.13.0 + uses: calebzulawski/setup-bazel@feature/disk-cache with: bazelisk-cache: true bazelrc: common --color=yes - cache-version: 2 - disk-cache: ${{ inputs.cache-key }} + cache-prefix: 3-${{ github.job }}-${{ inputs.os }}-${{ inputs.cache-key }} external-cache: | name: ${{ inputs.cache-key }} manifest: crates: rust/Cargo.Bazel.lock rules_ruby++ruby+ruby: ${{ inputs.os == 'windows' && 'false' || 'rb/.ruby-version' }} + disk-cache: true repository-cache: true - name: Setup Bazel without caching if: inputs.caching == false - uses: bazel-contrib/setup-bazel@0.13.0 + uses: calebzulawski/setup-bazel@feature/disk-cache with: bazelrc: common --color=yes - name: Setup Fluxbox and Xvfb
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 00f86c9..98c405c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml
@@ -25,15 +25,16 @@ with: fetch-depth: 50 - name: Setup Bazel - uses: bazel-contrib/setup-bazel@0.13.0 + uses: calebzulawski/setup-bazel@feature/disk-cache with: bazelisk-cache: true - cache-version: 2 + bazelrc: common --color=yes + cache-prefix: 3-${{ github.job }} external-cache: | - name: ci-check + name: check manifest: crates: rust/Cargo.Bazel.lock - rules_ruby~~ruby~ruby: rb/.ruby-version + rules_ruby++ruby+ruby: ${{ runner.os == 'windows' && 'false' || 'rb/.ruby-version' }} repository-cache: true - name: Check Bazel targets id: check-targets
diff --git a/rb/.ruby-version b/rb/.ruby-version index 9cec716..dcb564f 100644 --- a/rb/.ruby-version +++ b/rb/.ruby-version
@@ -1 +1 @@ -3.1.6 +jruby-9.4.12.0