diff --git a/.github/workflows/build-binaries.yml b/.github/workflows/build-binaries.yml index b975626c..f6e03c33 100644 --- a/.github/workflows/build-binaries.yml +++ b/.github/workflows/build-binaries.yml @@ -1,5 +1,6 @@ name: Build Binaries on: + pull_request: push: branches: - main @@ -16,9 +17,7 @@ jobs: package-suffix: linux-amd64 - os: ubuntu-arm package-suffix: linux-aarch64 - # Need the 8 CPU version that has 12GB of RAM, the 4 CPU version - # only has 6 GB. - runsOn: buildjet-8vcpu-ubuntu-2204-arm + runsOn: ubuntu-24.04-arm64-2-core - os: macos-intel package-suffix: macos-amd64 runsOn: macos-12 @@ -32,13 +31,7 @@ jobs: - uses: actions/checkout@v4 with: submodules: recursive - # actions/setup-python doesn't yet support Linux ARM - - if: ${{ matrix.os != 'ubuntu-arm' }} - uses: actions/setup-python@v5 - with: - python-version: "3.12" - - if: ${{ matrix.os == 'ubuntu-arm' }} - uses: deadsnakes/action@v3.1.0 + - uses: actions/setup-python@v5 with: python-version: "3.12" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a4ce57a4..3e3390cd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,13 +44,7 @@ jobs: - uses: Swatinem/rust-cache@v2 with: workspaces: temporalio/bridge -> target - # actions/setup-python doesn't yet support Linux ARM - - if: ${{ matrix.os != 'ubuntu-arm' }} - uses: actions/setup-python@v5 - with: - python-version: ${{ matrix.python }} - - if: ${{ matrix.os == 'ubuntu-arm' }} - uses: deadsnakes/action@v3.1.0 + - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python }} - uses: arduino/setup-protoc@v3