Skip to content

Commit 8ce26fb

Browse files
committed
added flake8-workfow.yaml
1 parent dc04f4c commit 8ce26fb

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/flake8-workfow.yaml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: check
2+
3+
on:
4+
push:
5+
branches:
6+
- 'devops'
7+
8+
9+
10+
jobs:
11+
flake8:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
- name: Set up Python 3.11.9
16+
uses: actions/setup-python@v5
17+
with:
18+
python-version: "3.11.9"
19+
- name: Install dependencies
20+
run: |
21+
python -m pip install --upgrade pip
22+
pip install flake8
23+
- name: run flake8
24+
run: |
25+
python -m flake8

0 commit comments

Comments
 (0)