File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : lint
2+
3+ on :
4+ # Trigger the workflow on push or pull request,
5+ # but only for the master branch
6+ push :
7+ branches :
8+ - master
9+ pull_request :
10+ branches :
11+ - master
12+
13+ jobs :
14+ syntax :
15+ name : flake8 syntax
16+ runs-on : ubuntu-latest
17+ steps :
18+ - uses : actions/checkout@v2
19+ - uses : actions/setup-python@v2
20+ with :
21+ python-version : 3.7
22+ - name : Install dependencies
23+ run : |
24+ python -m pip install --upgrade pip
25+ pip install flake8
26+ - name : lint
27+ run : |
28+ flake8 fluent-syntax/fluent
29+
30+ runtime :
31+ name : flake8 runtime
32+ runs-on : ubuntu-latest
33+ steps :
34+ - uses : actions/checkout@v2
35+ - uses : actions/setup-python@v2
36+ with :
37+ python-version : 3.7
38+ - name : Install dependencies
39+ run : |
40+ python -m pip install --upgrade pip
41+ pip install flake8
42+ - name : lint
43+ run : |
44+ flake8 fluent-runtime/fluent
You can’t perform that action at this time.
0 commit comments