mirror of
https://github.com/nikdoof/foursquare-feeds.git
synced 2025-12-11 17:12:27 +00:00
30 lines
635 B
YAML
30 lines
635 B
YAML
name: Lint
|
|
|
|
'on':
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
lint:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
python-version: ["3.12", "3.13"]
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Set up Python ${{ matrix.python-version }}
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
- name: Install uv
|
|
uses: astral-sh/setup-uv@v3
|
|
with:
|
|
enable-cache: true
|
|
- name: Install dependencies
|
|
run: uv sync
|
|
- name: Lint with ruff
|
|
run: uv run ruff check |