Skip to content

Commit e97029f

Browse files
committed
Add lint workflow
1 parent f239db6 commit e97029f

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/style.yaml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Run code style check
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- dev
7+
8+
push:
9+
branches:
10+
- dev
11+
12+
workflow_dispatch:
13+
14+
jobs:
15+
build:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Checkout
19+
uses: actions/checkout@v4
20+
21+
- name: Initialize python 3.12
22+
uses: actions/setup-python@v5
23+
with:
24+
python-version: '3.12'
25+
26+
- name: Install dependencies
27+
run: |
28+
python -m pip install --upgrade pip
29+
pip install -r requirements-ci.txt
30+
31+
- name: Style checking
32+
run: make lint

0 commit comments

Comments
 (0)