Skip to content

Instantly share code, notes, and snippets.

@jeanmidevacc
Created March 20, 2026 02:01
Show Gist options
  • Select an option

  • Save jeanmidevacc/20e27941be3412165a938493ee670f07 to your computer and use it in GitHub Desktop.

Select an option

Save jeanmidevacc/20e27941be3412165a938493ee670f07 to your computer and use it in GitHub Desktop.
name: CI
on:
push:
branches: [main]
tags: ["v*.*.*"]
pull_request:
branches: [main]
jobs:
#some step before
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: "3.11"
- run: pip install --upgrade pip && pip install -e .[dev]
- name: Ruff - lint
run: ruff check .
- name: Vulture - dead code
run: vulture src/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment