Skip to content

Bump astral-sh/setup-uv from 8.1.0 to 8.2.0 #154

Bump astral-sh/setup-uv from 8.1.0 to 8.2.0

Bump astral-sh/setup-uv from 8.1.0 to 8.2.0 #154

name: "lint, format and test after push"
concurrency:
group: "pygeoapi-k8s-manager-push-lint-and-test"
cancel-in-progress: true
on:
# all pushes and PRs, but not tags
push:
branches: ['**']
tags-ignore: ['**']
pull_request:
jobs:
lint-format-and-test:
runs-on: ubuntu-latest
timeout-minutes: 2
steps:
-
name: Checkout Repository
uses: actions/checkout@v6
-
name: Install uv
uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
-
name: Set up Python
run: uv python install
-
name: Install the project
run: uv sync --locked --all-extras --dev
-
name: run linter and formatter
run: |
uv run ruff check
uv run ruff check --select I
uv run ruff format --diff
-
name: run tests
run: |
uv run pytest tests/