Skip to content

Commit

Permalink
Merge pull request #20 from jumpstarter-dev/ruff
Browse files Browse the repository at this point in the history
Add ruff lint GitHub Action
  • Loading branch information
NickCao authored Jul 29, 2024
2 parents beb05f6 + 93738d6 commit d076f9c
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pytest.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Pytest"
name: "Run Tests"
on:
workflow_dispatch:
push:
Expand Down
19 changes: 19 additions & 0 deletions .github/workflows/ruff.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: "Lint"
on:
workflow_dispatch:
push:
branches:
- main
pull_request:

permissions:
contents: read
pull-requests: read
jobs:
ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Run ruff
uses: chartboost/ruff-action@v1

0 comments on commit d076f9c

Please sign in to comment.