Skip to content

Bump actions/setup-python from 6.2.0 to 6.3.0 in the all group #686

Bump actions/setup-python from 6.2.0 to 6.3.0 in the all group

Bump actions/setup-python from 6.2.0 to 6.3.0 in the all group #686

Workflow file for this run

name: Lint
on:
push:
branches:
- master
pull_request:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint-python:
name: Lint Python with Ruff and ty
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
- name: Install uv
uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
with:
enable-cache: true
cache-dependency-glob: "uv.lock"
- name: Set up Python
run: uv python install 3.11
- name: Install dependencies
run: uv sync --extra lint
- name: Check formatting with ruff
run: uv run ruff format --check .
- name: Lint with ruff
run: uv run ruff check fickling
- name: Type check with ty
run: uv run ty check fickling
continue-on-error: true # TODO: Remove once type annotations are fixed