From 708399bd0cca33c5a70493272f06412771a612a5 Mon Sep 17 00:00:00 2001 From: Liu Liu Date: Mon, 3 Jun 2024 19:48:58 -0400 Subject: [PATCH] Update runners to be the latest. --- .github/workflows/macos-bazel.yaml | 4 ++-- .github/workflows/ubuntu-bazel.yaml | 10 +++++----- .github/workflows/ubuntu-spm.yaml | 8 ++++---- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/macos-bazel.yaml b/.github/workflows/macos-bazel.yaml index 2bded4573..364e5d3b7 100644 --- a/.github/workflows/macos-bazel.yaml +++ b/.github/workflows/macos-bazel.yaml @@ -2,13 +2,13 @@ name: macos-bazel on: [push] jobs: build: - runs-on: macos-12 + runs-on: macos-14 steps: - uses: actions/checkout@v2 - name: Install bazelisk run: | - curl -LO "https://github.com/bazelbuild/bazelisk/releases/download/v1.11.0/bazelisk-darwin-amd64" + curl -LO "https://github.com/bazelbuild/bazelisk/releases/download/v1.20.0/bazelisk-darwin-amd64" mkdir -p "${GITHUB_WORKSPACE}/bin/" mv bazelisk-darwin-amd64 "${GITHUB_WORKSPACE}/bin/bazel" chmod +x "${GITHUB_WORKSPACE}/bin/bazel" diff --git a/.github/workflows/ubuntu-bazel.yaml b/.github/workflows/ubuntu-bazel.yaml index d42d69894..43b2ac80a 100644 --- a/.github/workflows/ubuntu-bazel.yaml +++ b/.github/workflows/ubuntu-bazel.yaml @@ -2,20 +2,20 @@ name: ubuntu-bazel on: [push] jobs: build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v2 - name: Install Swift dependencies run: | sudo apt-get install clang libicu-dev - wget https://download.swift.org/swift-5.6.1-release/ubuntu2004/swift-5.6.1-RELEASE/swift-5.6.1-RELEASE-ubuntu20.04.tar.gz - tar xzf swift-5.6.1-RELEASE-ubuntu20.04.tar.gz - echo "$(pwd)/swift-5.6.1-RELEASE-ubuntu20.04/usr/bin" >> $GITHUB_PATH + wget https://download.swift.org/swift-5.10-release/ubuntu2204/swift-5.10-RELEASE/swift-5.10-RELEASE-ubuntu22.04.tar.gz + tar xzf swift-5.10-RELEASE-ubuntu22.04.tar.gz + echo "$(pwd)/swift-5.10-RELEASE-ubuntu22.04/usr/bin" >> $GITHUB_PATH - name: Install bazelisk run: | - curl -LO "https://github.com/bazelbuild/bazelisk/releases/download/v1.11.0/bazelisk-linux-amd64" + curl -LO "https://github.com/bazelbuild/bazelisk/releases/download/v1.20.0/bazelisk-linux-amd64" mkdir -p "${GITHUB_WORKSPACE}/bin/" mv bazelisk-linux-amd64 "${GITHUB_WORKSPACE}/bin/bazel" chmod +x "${GITHUB_WORKSPACE}/bin/bazel" diff --git a/.github/workflows/ubuntu-spm.yaml b/.github/workflows/ubuntu-spm.yaml index 766b1dd36..fa8fd9ba5 100644 --- a/.github/workflows/ubuntu-spm.yaml +++ b/.github/workflows/ubuntu-spm.yaml @@ -2,16 +2,16 @@ name: ubuntu-spm on: [push] jobs: build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v2 - name: Install Swift dependencies run: | sudo apt-get install clang libicu-dev - wget https://download.swift.org/swift-5.6.1-release/ubuntu2004/swift-5.6.1-RELEASE/swift-5.6.1-RELEASE-ubuntu20.04.tar.gz - tar xzf swift-5.6.1-RELEASE-ubuntu20.04.tar.gz - echo "$(pwd)/swift-5.6.1-RELEASE-ubuntu20.04/usr/bin" >> $GITHUB_PATH + wget https://download.swift.org/swift-5.10-release/ubuntu2204/swift-5.10-RELEASE/swift-5.10-RELEASE-ubuntu22.04.tar.gz + tar xzf swift-5.10-RELEASE-ubuntu22.04.tar.gz + echo "$(pwd)/swift-5.10-RELEASE-ubuntu22.04/usr/bin" >> $GITHUB_PATH - name: Run tests run: |