Skip to content

Commit

Permalink
Use run-in-container action from the workflow checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
dflook committed Oct 11, 2024
1 parent a93b694 commit 6fbda75
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/test_corpus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,10 @@ jobs:
- name: Clear workspace
run: rm -rf "$GITHUB_WORKSPACE/*"

- name: Checkout tests
- name: Checkout workflow ref
uses: actions/[email protected]
with:
fetch-depth: 1
fetch-tags: 'true'
show-progress: 'false'
path: workflow

Expand All @@ -66,7 +65,7 @@ jobs:
path: python-minifier

- name: Run tests
uses: ./.github/actions/run-in-container
uses: workflow/.github/actions/run-in-container
with:
image: danielflook/python-minifier-build:python${{ matrix.python }}-2024-09-15
volumes: |
Expand Down Expand Up @@ -111,7 +110,6 @@ jobs:
with:
path: workflow
fetch-depth: 1
fetch-tags: 'true'
show-progress: 'false'

- name: Checkout ref
Expand All @@ -135,7 +133,7 @@ jobs:
show-progress: 'false'

- name: Generate Report
uses: ./.github/actions/run-in-container
uses: workflow/.github/actions/run-in-container
with:
image: danielflook/python-minifier-build:python3.13-2024-09-15
volumes: |
Expand Down

0 comments on commit 6fbda75

Please sign in to comment.