Skip to content

Change to UV (and minor improvements) #11

Change to UV (and minor improvements)

Change to UV (and minor improvements) #11

Workflow file for this run

name: Latest commit
env:
CACHE_VERSION: 1
DEFAULT_PYTHON: "3.13"
PRE_COMMIT_HOME: ~/.cache/pre-commit
VENV: venv
on:
schedule:
- cron: "2 4 * * 0" # weekly
workflow_dispatch:
push:
# pull_request:
jobs:
# Check shellscripts
shellcheck:
name: Shellcheck
runs-on: ubuntu-latest
steps:
- name: Check out committed code
uses: actions/checkout@v4
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@master
test-publishing:
name: Build and publish Python 🐍 distributions 📦 to TestPyPI
runs-on: ubuntu-latest
environment: testpypi
permissions:
id-token: write
steps:
- name: Check out committed code
uses: actions/checkout@v4
- name: Prepare uv
run: |
pip install uv
uv venv --seed venv
- name: Build
run: |
. venv/bin/activate
uv build
- name: Publish distribution 📦 to TestPyPI
run: |
. venv/bin/activate
uv publish --publish-url https://test.pypi.org/legacy/