Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update runners to ubuntu-24.04 from deprecated ubuntu-20.04 label #874

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
2 changes: 1 addition & 1 deletion .github/workflows/ci-nightly-cirq-test.yaml
Original file line number Diff line number Diff line change
@@ -9,10 +9,10 @@
# options for overridding some of the parameters for the run.
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

name: CI nightly Cirq compatibility test

Check warning on line 12 in .github/workflows/ci-nightly-cirq-test.yaml

GitHub Actions / YAML lint

12:1 [document-start] missing document start "---"
run-name: Continuous integration Cirq compatibility test

on:

Check warning on line 15 in .github/workflows/ci-nightly-cirq-test.yaml

GitHub Actions / YAML lint

15:1 [truthy] truthy value should be one of [false, true]
schedule:
- cron: "10 7 * * *"

@@ -72,7 +72,7 @@
jobs:
test-compatibility:
name: Run TFQ tests
runs-on: ubuntu-20.04
runs-on: 'ubuntu-24.04'
steps:
- name: Check out a copy of the TFQ git repository
uses: actions/checkout@v4
@@ -99,13 +99,13 @@
# If we didn't get a cache hit on the installed Python environment,
# something's changed, and we want to make sure to re-run all tests.
if [[ "${{steps.python.outputs.cache-hit}}" == "true"
&& "${{github.event.inputs.cache_bazel_tests}}" != "false" ]]; then

Check failure on line 102 in .github/workflows/ci-nightly-cirq-test.yaml

GitHub Actions / YAML lint

102:81 [line-length] line too long (84 > 80 characters)
echo "cache_bazel_tests=auto" >> "$GITHUB_ENV"
else
echo "cache_bazel_tests=no" >> "$GITHUB_ENV"
fi
# Use the disk cache unless told not to.
if [[ "${{github.event.inputs.use_bazel_disk_cache}}" != "false" ]]; then

Check failure on line 108 in .github/workflows/ci-nightly-cirq-test.yaml

GitHub Actions / YAML lint

108:81 [line-length] line too long (83 > 80 characters)
echo "use_bazel_disk_cache=true" >> "$GITHUB_ENV"
else
echo "use_bazel_disk_cache=false" >> "$GITHUB_ENV"