Skip to content

Commit c78e8cc

Browse files
Merge remote-tracking branch 'origin/main'
2 parents 679df25 + eebaa87 commit c78e8cc

File tree

3 files changed

+43
-2
lines changed

3 files changed

+43
-2
lines changed

.github/codeql/codeql-analysis.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
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

.github/workflows/static.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,33 @@ jobs:
2727
environment:
2828
name: github-pages
2929
url: ${{ steps.deployment.outputs.page_url }}
30-
runs-on: ubuntu-latest
30+
runs-on: windows-latest
3131
steps:
3232
- name: Checkout
3333
uses: actions/checkout@v4
34+
35+
- name: Cache
36+
uses: actions/[email protected]
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+
3448
- name: Setup Pages
3549
uses: actions/configure-pages@v5
50+
3651
- name: Upload artifact
3752
uses: actions/upload-pages-artifact@v3
3853
with:
3954
# Upload entire repository
4055
path: '.'
56+
4157
- name: Deploy to GitHub Pages
4258
id: deployment
4359
uses: actions/deploy-pages@v4

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ colorlog~=6.8.2
77
PyAutoGUI~=0.9.54
88
uuid~=1.30
99
WMI~=1.5.1
10-
setuptools~=69.5.1
10+
setuptools~=70.1.0

0 commit comments

Comments
 (0)