Skip to content

Commit

Permalink
Use checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
TheByronHimes committed May 15, 2024
1 parent 5faa866 commit e00340c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/tests_on_pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/tests_on_push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e00340c

Please sign in to comment.