File tree Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : ' Lint Code'
2
+
3
+ on :
4
+ push :
5
+ branches : [master, main]
6
+ pull_request :
7
+ branches : [master, main]
8
+
9
+ jobs :
10
+ lint_python :
11
+ name : Lint Python Files
12
+ runs-on : ubuntu-latest
13
+
14
+ steps :
15
+
16
+ - name : Checkout Repository
17
+ uses : actions/checkout@v3
18
+
19
+ - name : Set up Python
20
+ uses : actions/setup-python@v4
21
+ with :
22
+ python-version : 3.12
23
+
24
+ - name : Install dependencies
25
+ run : |
26
+ python -m pip install --upgrade pip
27
+ pip install flake8
28
+
29
+ - name : Print working directory
30
+ run : pwd
31
+
32
+ lint_js :
33
+ name : Lint JavaScript Files
34
+ runs-on : ubuntu-latest
35
+
36
+ steps :
37
+ - name : Checkout Repository
38
+ uses : actions/checkout@v3
39
+
40
+ - name : Install Node.js
41
+ uses : actions/setup-node@v3
42
+ with :
43
+ node-version : 14
44
+
45
+ - name : Install JSHint
46
+ run : npm install jshint --global
You can’t perform that action at this time.
0 commit comments