Skip to content

Add --system flag to all uv pip install commands #697

Add --system flag to all uv pip install commands

Add --system flag to all uv pip install commands #697

Workflow file for this run

name: json2xml linters.yml
on: [push, pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
ruff:
name: ruff
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Set up Python
uses: actions/[email protected]
with:
python-version: "3.13"
- name: Install uv
uses: astral-sh/setup-uv@v6
with:
enable-cache: true
- name: Install ruff
run: uv pip install ruff
- name: Run Ruff
run: |
ruff check json2xml
ruff check tests
mypy:
name: mypy
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Set up Python
uses: actions/[email protected]
with:
python-version: '3.13'
- name: Install uv
uses: astral-sh/setup-uv@v6
with:
enable-cache: true
- name: Install mypy and types
run: uv pip install mypy types-requests types-urllib3
- name: mypy
uses: liskin/gh-problem-matcher-wrap@v2
with:
linters: mypy
run: |
mypy json2xml