Skip to content

Commit

Permalink
Run "ruff check" on source in Github action
Browse files Browse the repository at this point in the history
  • Loading branch information
roryyorke committed Jan 19, 2025
1 parent a2ee35a commit f305cc5
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/slycot-build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,24 @@ on:

jobs:

ruff-lint:
name: Static lint checks with ruff
runs-on: ubuntu-latest
steps:
- name: Checkout Slycot
uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: 'recursive'
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Run ruff check
run: |
pip install ruff
ruff check slycot
build-sdist:
# Super fast sniff build. If this fails, don't start the other jobs
name: Build sdist on Ubuntu
Expand Down

0 comments on commit f305cc5

Please sign in to comment.