From 26d8cfc0f303535b7f73e292a93fc4c8ba98a58e Mon Sep 17 00:00:00 2001 From: Manuel Spigolon Date: Thu, 15 Sep 2022 18:30:06 +0200 Subject: [PATCH 1/2] chore: reduce ci test when linting fails --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cd7afc16a5..78e3fd42cc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,10 +54,12 @@ jobs: npm run lint coverage-nix: + needs: [linter] permissions: contents: read uses: ./.github/workflows/coverage-nix.yml coverage-win: + needs: [linter] permissions: contents: read uses: ./.github/workflows/coverage-win.yml From 2ef11c6e522c33e9e83f9a959e1a2f7536f15f6c Mon Sep 17 00:00:00 2001 From: Manuel Spigolon Date: Fri, 16 Sep 2022 09:02:25 +0200 Subject: [PATCH 2/2] Apply suggestions from code review Co-authored-by: Frazer Smith --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 78e3fd42cc..6a6baf63bc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,12 +54,12 @@ jobs: npm run lint coverage-nix: - needs: [linter] + needs: linter permissions: contents: read uses: ./.github/workflows/coverage-nix.yml coverage-win: - needs: [linter] + needs: linter permissions: contents: read uses: ./.github/workflows/coverage-win.yml