Skip to content

Commit 4dfab7e

Browse files
committed
ci: add lint check
1 parent 582879e commit 4dfab7e

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/check.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@ name: Checks
22
on: [push, pull_request]
33

44
jobs:
5+
lint:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@v4
9+
- uses: actions/setup-python@v5
10+
with:
11+
python-version: '3.12'
12+
- name: Install requirements
13+
run: pip install flake8
14+
- name: Check syntax
15+
run: flake8 ckanext
16+
517
test:
618
strategy:
719
matrix:

0 commit comments

Comments
 (0)