From 7dbcdb04141589be679d15d05625fb6dc60b1b1c Mon Sep 17 00:00:00 2001 From: hatz Date: Thu, 1 Feb 2024 12:25:02 -0600 Subject: [PATCH] Migrate to the new `figure-linux-standard` action runners MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit > [!WARNING] > ## 📣 Action Required > **The old runners will stop working on 2024-02-22, please approve and merge this PR!** > > If this PR does not properly build, please let us know in slack - `#devops`. --- This PR moves all of the workflows from our old self-hosted runners and ubuntu-latest to our new `figure-linux-standard` action runners. The new runners do cool things like autoscaling, so eventually our goal is to have more runners available for devs while also spending less money. We highly recommend wiping the Actions cache for this repo before merging this PR. We've seen some issues restoring a cache made by an old runner on a new runner, which can result in dramatically slower builds. The first build on a default branch on the new runner after wiping the cache will be slow, but subsequent builds will be faster since they'll have a proper cache restore. This can be done using the [`gh` cli](https://cli.github.com) (`brew install gh`): ``` gh cache delete --all -R FigureTechnologies/ft-coroutines ``` Check out our [Notion Blog post](https://www.notion.so/figuretech/New-GitHub-Action-Runners-dea588c903e949f0958469492f4da882?pvs=4) for more info and our FAQ. --- 🤖🪄 This PR was automatically created by a magic script. Please reach out to `#devops` with questions. [sc-281866] --- .github/workflows/build.yaml | 2 +- .github/workflows/publish.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 75b16ad..49910fc 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -6,7 +6,7 @@ on: jobs: build: name: Build and test - runs-on: ubuntu-latest + runs-on: figure-linux-standard env: NEXUS_USER: ${{ secrets.NEXUS_USER }} NEXUS_PASS: ${{ secrets.NEXUS_PASS }} diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index f08f917..c6e61d9 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -10,7 +10,7 @@ on: jobs: java_build: name: Build and Publish Jar - runs-on: ubuntu-latest + runs-on: figure-linux-standard steps: - name: Checkout uses: actions/checkout@v3