From 4ae11425da5aba9f3ebebf6c8dbd62951d2f61d2 Mon Sep 17 00:00:00 2001 From: Luca Dei Zotti Date: Thu, 16 Nov 2023 16:28:29 +0100 Subject: [PATCH 1/2] [change] avoid downloading a GB python image :) ref [slack thread](https://prima.slack.com/archives/C010MP6FATE/p1700146289515009) --- .github/workflows/ci.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e9cdf66..f117ab3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -84,12 +84,10 @@ jobs: run: mix dialyzer alls-green: - if: always() + if: ${{ !cancelled() }} needs: - test - runs-on: ubuntu-latest + runs-on: [k8s-small] steps: - - name: Decide whether the needed jobs succeeded or failed - uses: re-actors/alls-green@release/v1 - with: - jobs: ${{ toJSON(needs) }} + - name: Decide whether the needed jobs succeeded or failed + run: ${{ !contains(needs.*.result, 'failure') }} From d1711ecad9fca55b88b42ecd85da02b4ffe9870b Mon Sep 17 00:00:00 2001 From: Luca Dei Zotti Date: Fri, 17 Nov 2023 16:11:31 +0100 Subject: [PATCH 2/2] [fix] runner --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f117ab3..7e8d5a4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -87,7 +87,7 @@ jobs: if: ${{ !cancelled() }} needs: - test - runs-on: [k8s-small] + runs-on: ubuntu-latest steps: - name: Decide whether the needed jobs succeeded or failed run: ${{ !contains(needs.*.result, 'failure') }}