From 9ff1af3adb75b2b955e90399d012214bbc39d209 Mon Sep 17 00:00:00 2001 From: Antonio Scandurra Date: Wed, 2 Mar 2022 14:30:00 +0100 Subject: [PATCH] Always run tests and bundle creation in separate runners This is better for caching and, thus, yields faster CI runs. --- .github/workflows/ci.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4050d4e120..ae30bb79e5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,9 @@ env: jobs: tests: name: Run tests - runs-on: self-hosted + runs-on: + - self-hosted + - test env: RUSTFLAGS: -D warnings steps: @@ -39,7 +41,9 @@ jobs: bundle: name: Bundle app - runs-on: self-hosted + runs-on: + - self-hosted + - bundle env: MACOS_CERTIFICATE: ${{ secrets.MACOS_CERTIFICATE }} MACOS_CERTIFICATE_PASSWORD: ${{ secrets.MACOS_CERTIFICATE_PASSWORD }}