From e23f15ca7f9dece95df0ae16c56dfff9934959e9 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Wed, 8 Feb 2023 00:38:21 -0500 Subject: [PATCH] tests: stop running workflows on push Also remove unnecessary strategy block from jobs. --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index faca9de..06f39ab 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,12 +10,14 @@ on: branches: - master +concurrency: + group: build-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: unit-tests-master: name: unit-tests runs-on: ubuntu-20.04 - strategy: - fail-fast: true env: DOKKU_VERSION: master @@ -58,8 +60,6 @@ jobs: unit-tests-0_19_0: name: unit-tests-0.19.0 runs-on: ubuntu-20.04 - strategy: - fail-fast: true env: DOKKU_TAG: v0.19.0