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
9 changes: 3 additions & 6 deletions .github/workflows/_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ name: Run Bazel Tests
on:
workflow_call:
jobs:
code:
_tests:
runs-on: ubuntu-latest
steps:
- name: 🛡️ Harden Runner
Expand All @@ -37,12 +37,9 @@ jobs:
repository: ${{ github.event.pull_request.head.repo.full_name || github.repository }}

- name: Setup Bazel with shared caching
uses: bazel-contrib/setup-bazel@0.19.0
uses: eclipse-score/cicd-actions/setup-bazel-cache@cache
with:
disk-cache: true
repository-cache: true
bazelisk-cache: true
cache-save: ${{ github.event_name == 'push' }}
disk-cache-key: ${{ github.job }}

- name: Setup venv
run: bazel run --lockfile_mode=error //:ide_support
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/downstream_compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ jobs:
packages: graphviz
cache: false

- name: Setup Bazel with shared caching
uses: eclipse-score/cicd-actions/setup-bazel-cache@cache
with:
disk-cache-key: ${{ github.job }}

- name: Checkout PR
uses: actions/checkout@v7

Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/test_links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ jobs:
uses: step-security/harden-runner@v2.21.0
with:
egress-policy: audit

- name: Setup Bazel with shared caching
uses: eclipse-score/cicd-actions/setup-bazel-cache@cache
with:
disk-cache-key: ${{ github.job }}

- name: Checkout repository
uses: actions/checkout@v7

Expand Down
Loading