Skip to content

Commit b225ef3

Browse files
committed
fixing worklow
1 parent b9f75b5 commit b225ef3

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.github/workflows/darglint.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Darglint checks
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
9+
jobs:
10+
11+
build:
12+
runs-on: ubuntu-latest
13+
defaults:
14+
run:
15+
shell: bash -l {0}
16+
steps:
17+
18+
- name: Checkout Repository
19+
uses: actions/checkout@v4
20+
21+
- name: Set up Python
22+
uses: actions/setup-python@v5
23+
with:
24+
python-version: '3.10'
25+
cache: 'pip' # caching pip dependencies
26+
27+
- name: Pip install
28+
run: pip install darglint
29+
30+
- name: Pip list
31+
run: pip list
32+
33+
- name: Darglint checks
34+
run: darglint -v 2 -z short .

0 commit comments

Comments
 (0)