Skip to content

chore(deps): update dependency ruff to v0.7.4 (#182) #990

chore(deps): update dependency ruff to v0.7.4 (#182)

chore(deps): update dependency ruff to v0.7.4 (#182) #990

Workflow file for this run

# vim: ft=yaml
name: test
on:
- pull_request
- push
jobs:
test:
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
include:
- { salt: "3007", python: "3.10" }
- { salt: "3006", python: "3.10" }
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v3
with:
enable-cache: True
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- run: uv sync --all-extras --dev
- run: uv run tox -e py3-salt${{ matrix.salt }} -- -vv
ruff-check:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v3
with:
enable-cache: True
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- run: uv sync --dev
- run: uv run ruff check --no-fix --diff
ruff-format:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v3
with:
enable-cache: True
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- run: uv sync --dev
- run: uv run ruff format --diff --check