Skip to content

Commit 4e6761c

Browse files
l46kokcopybara-github
authored andcommitted
Use ubuntu-latest again for CI
PiperOrigin-RevId: 707695265
1 parent 47f3ddd commit 4e6761c

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

.github/workflows/workflow.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,23 @@ concurrency:
1616

1717
jobs:
1818
Bazel-Tests:
19-
runs-on: ubuntu-22.04
19+
runs-on: ubuntu-latest
2020
timeout-minutes: 30
2121
steps:
2222
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
2323
- run: echo "🐧 Job is running on a ${{ runner.os }} server!"
2424
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
2525
- name: Check out repository code
26-
uses: actions/checkout@v3
27-
- name: Mount Bazel Cache
28-
uses: actions/cache@v3
26+
uses: actions/checkout@v4
27+
- name: Setup Bazel
28+
uses: bazel-contrib/setup-bazel@0.9.1
2929
with:
30-
path: "/home/runner/.cache/bazel"
31-
key: bazelisk
30+
# Avoid downloading Bazel every time.
31+
bazelisk-cache: true
32+
# Store build cache per workflow.
33+
disk-cache: ${{ github.workflow }}
34+
# Share repository cache between workflows.
35+
repository-cache: true
3236
- name: Bazel Output Version
3337
run: bazelisk --version
3438
- name: Bazel Test

0 commit comments

Comments
 (0)