Skip to content

Commit

Permalink
Update lint.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
khakers committed Mar 23, 2024
1 parent 5fef2e2 commit b5e5bf2
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8"]
python-version: ["3.11"]
name: Python ${{ matrix.python-version }} on ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -21,12 +21,16 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: Setup PDM
uses: pdm-project/setup-pdm@v4
with:
cache: true
- name: Install dependencies
run: |
python -m pip install black ruff
pdm install --group dev
- name: Ruff
run: ruff . --no-fix
run: pdm run ruff . --no-fix
continue-on-error: true
- name: Black
run: |
black . --diff --check
pdm run black . --diff --check

0 comments on commit b5e5bf2

Please sign in to comment.