summary refs log tree commit diff
path: root/.github
diff options
context:
space:
mode:
authorJakub Beránek <berykubik@gmail.com>2025-06-09 08:10:55 +0200
committerJakub Beránek <berykubik@gmail.com>2025-06-09 08:14:38 +0200
commit54ed1b966fc0b4b46140bd4a3798d739acfe3249 (patch)
tree3b694ab00db19b7e89ec46243e509ade37dc4604 /.github
parent7614592107065b37657de008638f9f5bc19362c0 (diff)
downloadrust-54ed1b966fc0b4b46140bd4a3798d739acfe3249.tar.gz
rust-54ed1b966fc0b4b46140bd4a3798d739acfe3249.zip
Run `calculate_matrix` job on the `master` branch
This allows us to reuse its cache on PR CI jobs.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 81fb39cdc56..e5054a07567 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -11,6 +11,10 @@ name: CI
 on:
   push:
     branches:
+      # CI on master only serves for caching citool builds for the `calculate_matrix` job.
+      # In order to use GHA cache on PR CI (and auto/try) jobs, we need to write to it
+      # from the default branch.
+      - master
       - auto
       - try
       - try-perf