Skip to content

Commit 98dd587

Browse files
authored
Update pipeline.yaml
1 parent 1ede4a2 commit 98dd587

File tree

1 file changed

+6
-13
lines changed

1 file changed

+6
-13
lines changed

.github/workflows/pipeline.yaml

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,7 @@
1-
#
2-
# Flowmotion
3-
# Pipeline
4-
# Scheduled Workflow
5-
#
6-
71
name: Flowmotion Pipeline
82

93
on:
104
schedule:
11-
# run every 10 minutes
125
- cron: "*/10 * * * *"
136

147
jobs:
@@ -27,13 +20,14 @@ jobs:
2720
cache: "pip"
2821

2922
- name: Install Pip dependencies
30-
run: pip install -r requirements.txt
23+
run: pip install -r requirements.txt
24+
25+
- name: Reformat code (make fmt)
26+
run: make fmt
3127

32-
# Run black to reformat the code automatically
33-
- name: Reformat code with black
34-
run: black .
28+
- name: Lint code (make lint)
29+
run: make lint
3530

36-
# Optionally commit and push changes if reformatting is done
3731
- name: Commit and push changes if reformatted
3832
run: |
3933
git config --local user.email "actions@github.com"
@@ -47,4 +41,3 @@ jobs:
4741
run: python pipeline.py
4842

4943

50-

0 commit comments

Comments
 (0)