Skip to content

Bump astral-sh/setup-uv from 7.1.6 to 7.2.0 #14

Bump astral-sh/setup-uv from 7.1.6 to 7.2.0

Bump astral-sh/setup-uv from 7.1.6 to 7.2.0 #14

Workflow file for this run

name: UV
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
uv:
name: python
runs-on: ubuntu-latest
permissions: read-all
strategy:
matrix:
python-version:
- "3.11"
steps:
- name: Checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
with:
fetch-depth: 0
- name: Install uv
uses: astral-sh/setup-uv@61cb8a9741eeb8a550a1b8544337180c0fc8476b
with:
python-version: ${{ matrix.python-version }}
- name: Set up Python
run: uv python install
- name: pyTest
run: uv run pytest tests
- name: Ruff (check)
run: uv run ruff check
- name: Ruff (format)
run: uv run ruff format --diff --check
- name: Ty
run: uv run ty check
#- name: Troml
# run: uv run troml check
- name: Run SonarQube
uses: sonarsource/sonarqube-scan-action@a31c9398be7ace6bbfaf30c0bd5d415f843d45e9
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}