Skip to content

Commit 5fcbfbb

Browse files
authored
Merge pull request #37 from chenjintang-shrimp/nuitka-packaging
优化更多的语言文件,调整工作流,格式化代码
2 parents 616594d + 9a57f60 commit 5fcbfbb

32 files changed

Lines changed: 603 additions & 444 deletions

.github/workflows/build-linux.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
fail-fast: false
2222
matrix:
2323
include:
24-
- os: ubuntu-22.04
24+
- os: ubuntu-20.04
2525
arch: x64
2626
pack_mode: dir
2727

@@ -78,7 +78,7 @@ jobs:
7878
7979
# 安装依赖
8080
echo "安装项目依赖..."
81-
uv pip install -r requirements-linux.txt
81+
uv sync
8282
8383
# 安装 pyinstaller
8484
echo "安装 PyInstaller..."

.github/workflows/build.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- name: 安装 Python
3535
uses: actions/setup-python@v5.3.0
3636
with:
37-
python-version: '3.8.10'
37+
python-version: "3.8.10"
3838
architecture: ${{ matrix.arch }}
3939
- name: 安装 uv
4040
uses: astral-sh/setup-uv@v4
@@ -49,7 +49,6 @@ jobs:
4949
env:
5050
VERSION: ${{ github.ref_name }}
5151

52-
5352
- name: 运行 Windows 构建
5453
if: ${{ matrix.os == 'windows-2022' }}
5554
run: |
@@ -65,8 +64,7 @@ jobs:
6564
6665
# 安装依赖
6766
echo "安装项目依赖..."
68-
uv pip install -r requirements-windows.txt
69-
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
67+
uv sync
7068
7169
# 安装 pyinstaller
7270
echo "安装 PyInstaller..."

.github/workflows/pre-commit.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,10 @@ on:
44
push:
55
branches: [master]
66
pull_request:
7-
branches: [main]
87

98
jobs:
109
pre-commit:
11-
runs-on: ubuntu-latest
10+
runs-on: ubuntu-20.04
1211
steps:
1312
- uses: actions/checkout@v4
1413

.github/workflows/pyright.yml

Lines changed: 0 additions & 31 deletions
This file was deleted.

.github/workflows/ruff.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
ruff:
10-
runs-on: ubuntu-22.04
10+
runs-on: ubuntu-20.04
1111
steps:
1212
- uses: actions/checkout@v4
1313

.idea/SecRandom.iml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/copilot.data.migration.agent.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/copilot.data.migration.ask.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/copilot.data.migration.ask2agent.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/copilot.data.migration.edit.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)