Skip to content

Commit

Permalink
chore: update the publish workflow to use python 3.10 when checkversi…
Browse files Browse the repository at this point in the history
…on step.
  • Loading branch information
pablojhl committed Jan 15, 2025
1 parent 7c77ce8 commit f47ef0f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ jobs:
local_nada_mir_version_is_higher: ${{ steps.versioncheck_nada_mir.outputs.local_version_is_higher }}
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "^3.10"
- name: Install uv
uses: astral-sh/setup-uv@v3
with:
Expand All @@ -32,12 +36,12 @@ jobs:
- name: Check pypi versions
id: versioncheck
run: >-
python scripts/version_checker.py "./pyproject.toml"
uv run scripts/version_checker.py "./pyproject.toml"
- name: Check pypi versions
id: versioncheck_nada_mir
run: >-
python scripts/version_checker.py "nada_mir/pyproject.toml"
uv run scripts/version_checker.py "nada_mir/pyproject.toml"
- name: check output
run: |
Expand Down

0 comments on commit f47ef0f

Please sign in to comment.