Skip to content

Commit

Permalink
feat(ci): speed up installation
Browse files Browse the repository at this point in the history
  • Loading branch information
CNSeniorious000 committed Aug 9, 2024
1 parent 80c1124 commit 0457be3
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/ruff.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
name: ruff checks
name: CI

on: ["push", "pull_request"]

jobs:
check:
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up PDM with Python 3.11
uses: pdm-project/setup-pdm@v4
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: 3.11
python-version: 3.12
- name: Install dependencies
run: |
pdm install
pip install uv --disable-pip-version-check
uv tool run pdm export --pyproject | uv pip install -r - --system
- name: Ruff format check
run: |
pdm fmt --diff
Expand Down

0 comments on commit 0457be3

Please sign in to comment.