File tree Expand file tree Collapse file tree 3 files changed +43
-2
lines changed Expand file tree Collapse file tree 3 files changed +43
-2
lines changed Original file line number Diff line number Diff line change
1
+ jobs :
2
+ analyze :
3
+ name : Analyze
4
+ runs-on : ubuntu-latest
5
+
6
+ strategy :
7
+ fail-fast : false
8
+ matrix :
9
+ language : ['python'] # Explicitly specifying Python
10
+
11
+ steps :
12
+ - name : Checkout repository
13
+ uses : actions/checkout@v2
14
+
15
+ - name : Initialize CodeQL
16
+ uses : github/codeql-action/init@v1
17
+ with :
18
+ languages : ${{ matrix.language }} # Use the specified languages
19
+ # Exclude other languages by not listing them here
20
+
21
+ - name : Autobuild
22
+ uses : github/codeql-action/autobuild@v1
23
+
24
+ - name : Perform CodeQL Analysis
25
+ uses : github/codeql-action/analyze@v1
Original file line number Diff line number Diff line change @@ -27,17 +27,33 @@ jobs:
27
27
environment :
28
28
name : github-pages
29
29
url : ${{ steps.deployment.outputs.page_url }}
30
- runs-on : ubuntu -latest
30
+ runs-on : windows -latest
31
31
steps :
32
32
- name : Checkout
33
33
uses : actions/checkout@v4
34
+
35
+ - name : Cache
36
+
37
+ with :
38
+ path : ~/.cache/pip
39
+ key : ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
40
+ restore-keys : |
41
+ ${{ runner.os }}-pip-
42
+
43
+ - name : Install dependencies
44
+ run : |
45
+ python -m pip install --upgrade pip
46
+ pip install -r requirements.txt
47
+
34
48
- name : Setup Pages
35
49
uses : actions/configure-pages@v5
50
+
36
51
- name : Upload artifact
37
52
uses : actions/upload-pages-artifact@v3
38
53
with :
39
54
# Upload entire repository
40
55
path : ' .'
56
+
41
57
- name : Deploy to GitHub Pages
42
58
id : deployment
43
59
uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change @@ -7,4 +7,4 @@ colorlog~=6.8.2
7
7
PyAutoGUI ~= 0.9.54
8
8
uuid ~= 1.30
9
9
WMI ~= 1.5.1
10
- setuptools ~= 69.5.1
10
+ setuptools ~= 70.1.0
You can’t perform that action at this time.
0 commit comments