From e00340cacc7d4546d6a006fcdf422cb6d7382cc0 Mon Sep 17 00:00:00 2001 From: TheByronHimes Date: Wed, 15 May 2024 16:15:03 +0000 Subject: [PATCH] Use checkout --- .github/workflows/tests_on_pr.yaml | 9 ++++++--- .github/workflows/tests_on_push.yaml | 11 ++++++++--- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/.github/workflows/tests_on_pr.yaml b/.github/workflows/tests_on_pr.yaml index ea569dcf..7b610cd5 100644 --- a/.github/workflows/tests_on_pr.yaml +++ b/.github/workflows/tests_on_pr.yaml @@ -6,9 +6,12 @@ on: jobs: setup-matrix: - uses: ./cache-changed-services.yml - with: - cache-key: ${{ github.sha }}-changed-services + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: ./.github/workflows/cache-changed-services.yml + with: + cache-key: ${{ github.sha }}-changed-services test: runs-on: ubuntu-latest diff --git a/.github/workflows/tests_on_push.yaml b/.github/workflows/tests_on_push.yaml index 624c620c..0fd63eae 100644 --- a/.github/workflows/tests_on_push.yaml +++ b/.github/workflows/tests_on_push.yaml @@ -6,10 +6,15 @@ on: - main jobs: + setup-matrix: - uses: ./cache-changed-services.yml - with: - cache-key: ${{ github.sha }}-changed-services + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: ./.github/workflows/cache-changed-services.yml + with: + cache-key: ${{ github.sha }}-changed-services + test: runs-on: ubuntu-latest