Skip to content

Commit

Permalink
ci: Use latest Python for linting (#326)
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon authored Oct 2, 2024
1 parent 50dfc02 commit 3b1d73d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ jobs:
- "3.12"
- "3.13"
include:
- { script: "test:dependencies", python-version: "3.12" }
- { script: "typing:check", python-version: "3.12" }
- { script: "test:dependencies", python-version: "3.x" }
- { script: "typing:check", python-version: "3.x" }

steps:
- name: Checkout code
Expand All @@ -62,11 +62,12 @@ jobs:
- name: Install Hatch
run: |
pipx install --python '${{ steps.setup-python.outputs.python-path }}' hatch
pipx install hatch
hatch --version
- name: Run
env:
HATCH_PYTHON: ${{ steps.setup-python.outputs.python-path }}
TAP_READTHEDOCS_TOKEN: ${{ secrets.TAP_READTHEDOCS_TOKEN }}
run: |
hatch run ${{ matrix.script }}

0 comments on commit 3b1d73d

Please sign in to comment.