From a4cff12891e101197316fc1ddf97feff98b0d5d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edgar=20Ram=C3=ADrez=20Mondrag=C3=B3n?= <16805946+edgarrmondragon@users.noreply.github.com> Date: Tue, 1 Oct 2024 18:23:52 -0600 Subject: [PATCH] ci: Use latest Python for linting (#139) --- .github/workflows/test.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 84c9fcb..80d4603 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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: - uses: actions/checkout@v4 @@ -59,11 +59,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_CANNY_API_KEY: ${{ secrets.TAP_CANNY_API_KEY }} TAP_CANNY_START_DATE: ${{ secrets.TAP_CANNY_START_DATE }} run: |