Skip to content

Revert "fix: introduce uv-lock in ci.yml" #582

Revert "fix: introduce uv-lock in ci.yml"

Revert "fix: introduce uv-lock in ci.yml" #582

Workflow file for this run

name: ci
on:
pull_request:
branches:
- master
push:
branches:
- master
workflow_run: # chain from the uv-lock workflow
workflows: ["uv.lock on Dependabot PRs"]
types: [completed]
jobs:
build:
# Only run if not a Dependabot PR, or once uv-lock has completed successfully
if: |
github.event_name == 'workflow_run' ||
github.actor != 'dependabot[bot]'
runs-on: ubuntu-latest
strategy:
matrix:
python: ["3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v5
- name: Install uv and set the Python version
uses: astral-sh/setup-uv@v6
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
run: |
uv sync --locked --only-dev
- name: Run Prettier
uses: creyD/[email protected]
with:
dry: True
prettier_options: "--check **/*.{json,yaml,yml,md}"
- name: Run Tox
run: |
uv run tox -e py,lint