Skip to content

ci: Update GitHub Actions to Latest Version #79

ci: Update GitHub Actions to Latest Version

ci: Update GitHub Actions to Latest Version #79

Workflow file for this run

name: Python CI
on:
push:
branches: [main]
pull_request:
branches: [main]
release:
types: [created]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Install Python
uses: actions/[email protected]
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ruff>=0.2.0 mypy==1.9.0
# Update output format to enable automatic inline annotations.
- name: Run Ruff
run: ruff check --output-format=github .
- name: Run Ruff Format
run: ruff format --check .
- name: Run Mypy
run: mypy --ignore-missing-imports .