Skip to content

11. _Lint Checks

11. _Lint Checks #1

Workflow file for this run

name: 11. _Lint Checks
on:
workflow_call:
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: '3.11'
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 'stable'
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
enable-cache: true
- name: Install dependencies
run: uv sync --extra dev
- name: Format with ruff
run: uv run ruff format --check openviking/
- name: Lint with ruff
run: uv run ruff check openviking/
- name: Type check with mypy
run: uv run mypy openviking/
continue-on-error: true