Skip to content

Add graceful degradation and scan API for robust scanning #479

Add graceful degradation and scan API for robust scanning

Add graceful degradation and scan API for robust scanning #479

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@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
persist-credentials: false
- name: Install uv
uses: astral-sh/setup-uv@61cb8a9741eeb8a550a1b8544337180c0fc8476b # v7.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