Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/bazel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,6 @@ jobs:
bazelrc: common --color=yes
# Workaround for long path issues: https://github.com/bazelbuild/bazel/pull/22532
output-base: ${{ inputs.os == 'windows' && 'D://b' || '' }}
cache-version: 2
disk-cache: false
external-cache: |
manifest:
Expand Down
30 changes: 22 additions & 8 deletions .github/workflows/gh-cache.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,25 @@
name: CI Cache
name: GitHub Cache

on:
push:
branches: [trunk]
paths:
- 'MODULE.bazel'
- 'multitool.lock.json'
- 'pnpm-lock.yaml'
- 'rust/Cargo.lock'
- 'java/maven_install.json'
- 'py/requirements_lock.txt'
- 'rb/Gemfile.lock'
- 'dotnet/paket.lock'
- 'common/repositories.bzl'
- 'common/browsers.bzl'
schedule:
Comment thread
qodo-code-review[bot] marked this conversation as resolved.
- cron: '30 6 * * *'
workflow_dispatch:

concurrency:
group: ci-cache-${{ github.ref }}
group: gh-cache-${{ github.ref }}
cancel-in-progress: true

permissions:
Expand All @@ -21,9 +36,8 @@ jobs:
with:
name: ${{ matrix.os }}
os: ${{ matrix.os }}
cache-save: false
run: >
bazel build --nobuild --build_tests_only --keep_going
--repo_contents_cache=
//java/... //py/... //rb/... //rust/...
//javascript/selenium-webdriver/... //dotnet/...
cache-save: true
run: >-
bazel build --nobuild --build_tests_only --keep_going --repo_contents_cache=
//java/test/... //py:* //rb/spec/... //rust/tests/...
//javascript/selenium-webdriver:* //dotnet/test/...