diff --git a/.github/workflows/check-format-and-test-python-markdown-extension.yml b/.github/workflows/check-format-and-test-python-markdown-extension.yml index a206d873..df6737de 100644 --- a/.github/workflows/check-format-and-test-python-markdown-extension.yml +++ b/.github/workflows/check-format-and-test-python-markdown-extension.yml @@ -11,6 +11,9 @@ jobs: check-format: name: Check PR Format runs-on: ubuntu-latest + defaults: + run: + working-directory: ./python-markdown-extension steps: - uses: actions/checkout@v4 name: Checkout Repo @@ -19,15 +22,16 @@ jobs: with: enable-cache: true working-directory: python-markdown-extension - - run: | - cd python-markdown-extension - rye sync + - run: rye sync name: Install Dependencies - run: rye fmt --check name: Check Format test: name: Test PR runs-on: ubuntu-latest + defaults: + run: + working-directory: ./python-markdown-extension steps: - uses: actions/checkout@v4 name: Checkout Repo @@ -36,9 +40,7 @@ jobs: with: enable-cache: true working-directory: python-markdown-extension - - run: | - cd python-markdown-extension - rye sync + - run: rye sync name: Install Dependencies - run: rye run test name: Run Tests