Skip to content

Commit 1548ced

Browse files
committed
Create lint.yaml
1 parent c9ee48b commit 1548ced

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/lint.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Lint
2+
3+
on: [ pull_request, workflow_dispatch ]
4+
5+
jobs:
6+
lint:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- name: Checkout code
11+
uses: actions/checkout@v4
12+
13+
- name: Set up Python 3.11
14+
uses: actions/setup-python@v5
15+
with:
16+
python-version: 3.11
17+
18+
- name: Install Ruff
19+
run: |
20+
python -m pip install --upgrade pip
21+
pip install ruff
22+
23+
- name: Lint check
24+
run: ruff check pytissueoptics

0 commit comments

Comments
 (0)