Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,11 @@ jobs:

steps:
- uses: actions/checkout@v6
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v5
- name: Set up uv (python ${{matrix.python}})
uses: astral-sh/setup-uv@v7
with:
python-version: ${{ matrix.python }}
activate-environment: true

- name: set PY_CACHE_KEY
run: echo "PY_CACHE_KEY=$(python -c 'import hashlib, sys;print(hashlib.sha256(sys.version.encode()+sys.executable.encode()).hexdigest())')" >> $GITHUB_ENV
Expand All @@ -56,11 +57,9 @@ jobs:
path: ${{ github.workspace }}/.nox/tests-${{ matrix.python }}
key: "nox|${{ matrix.os }}|tests-${{ matrix.python }}|${{ env.PY_CACHE_KEY }}|${{ hashFiles('noxfile.py', 'setup.py', 'pyproject.toml') }}"

- name: Install tools and print info
- name: Install nox
run: |
pip install -U pip uv nox
pip --version
uv --version
pip install -U nox
nox --version

- name: Test
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,11 @@ jobs:

steps:
- uses: actions/checkout@v6
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v5
- name: Set up uv (python ${{matrix.python}})
uses: astral-sh/setup-uv@v7
with:
python-version: ${{ matrix.python }}
activate-environment: true

- name: set PY_CACHE_KEY
run: echo "PY_CACHE_KEY=$(python -c 'import hashlib, sys;print(hashlib.sha256(sys.version.encode()+sys.executable.encode()).hexdigest())')" >> $GITHUB_ENV
Expand All @@ -46,11 +47,9 @@ jobs:
path: ${{ github.workspace }}/.nox/lint
key: "nox-lint|${{ matrix.os }}|${{ env.PY_CACHE_KEY }}|${{ hashFiles('noxfile.py', 'setup.py', 'pyproject.toml') }}"

- name: Install tools
- name: Install nox
run: |
pip install -U pip uv nox
pip --version
uv --version
uv pip install nox
nox --version

- name: Lint
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
- uses: astral-sh/setup-uv@v7
with:
python-version: "3.13"
activate-environment: true
- name: check if release
id: is-release
run: |
Expand Down
Loading