Skip to content

Commit

Permalink
Improve CI (#653)
Browse files Browse the repository at this point in the history
  • Loading branch information
bieniu authored Feb 6, 2025
1 parent 49532a2 commit 1060a01
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,27 +8,28 @@ on:

jobs:
lint:
name: Lint
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- "3.12"
- "3.13"

steps:
- name: Check out repository
uses: actions/checkout@v4
with:
fetch-depth: 2

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip
cache-dependency-path: requirements-test.txt

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-test.txt
pip install uv
uv pip install --system -r requirements-test.txt
- name: Lint with ruff
run: |
Expand Down

0 comments on commit 1060a01

Please sign in to comment.