Skip to content

Commit e92a069

Browse files
authored
GitHub Actions: Lint Python code for just for SyntaxErrors
1 parent 5136c6d commit e92a069

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/lint.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: lint
2+
3+
on: [push, pull_request]
4+
5+
permissions:
6+
contents: read
7+
8+
jobs:
9+
lint_python:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: astral-sh/ruff-action@v3
14+
with: # Ignore all ruff rules except Python Syntax Errors
15+
args: "check --ignore=ALL"

0 commit comments

Comments
 (0)