Skip to content

Commit

Permalink
Merge pull request #119 from simopt-admin/ruff_formatting_action
Browse files Browse the repository at this point in the history
add ruff GitHub action
  • Loading branch information
Grochocinski authored Dec 9, 2024
2 parents 81b3952 + ac9535f commit 21802a6
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/ruff.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: "ruff format checking"

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: astral-sh/ruff-action@v2
with:
args: "format --check"

0 comments on commit 21802a6

Please sign in to comment.