Skip to content

Commit b3ef092

Browse files
committed
chore(ci): 更新Python版本和GitHub Actions依赖
- 将Python版本从3.13降级到3.11 - 更新actions/checkout从v3到v6 - 更新actions/setup-python从v4到v6 - 修改所有工作流中的Python版本配置 - 统一Windows、macOS和Linux构建环境的依赖设置
1 parent b54d312 commit b3ef092

5 files changed

Lines changed: 33 additions & 33 deletions

File tree

.github/workflows/build.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ jobs:
1515
runs-on: windows-2022
1616
steps:
1717
- name: Checkout
18-
uses: actions/checkout@v3
18+
uses: 3.11
1919
with:
2020
fetch-depth: 0
2121

22-
- name: Set up Python 3.13
23-
uses: actions/setup-python@v4
22+
- name: Set up Python 3.11
23+
uses: actions/setup-python@v6
2424
with:
25-
python-version: '3.13'
25+
python-version: '3.11'
2626

2727
- name: Install dependencies
2828
run: |
@@ -94,14 +94,14 @@ jobs:
9494
runs-on: macos-14
9595
steps:
9696
- name: Checkout
97-
uses: actions/checkout@v3
97+
uses: 3.11
9898
with:
9999
fetch-depth: 0
100100

101-
- name: Set up Python 3.13
102-
uses: actions/setup-python@v4
101+
- name: Set up Python 3.11
102+
uses: actions/setup-python@v6
103103
with:
104-
python-version: '3.13'
104+
python-version: '3.11'
105105

106106
- name: Install dependencies
107107
run: |
@@ -153,7 +153,7 @@ jobs:
153153
runs-on: macos-15-intel
154154
steps:
155155
- name: Checkout
156-
uses: actions/checkout@v3
156+
uses: 3.11
157157
with:
158158
fetch-depth: 0
159159

@@ -162,10 +162,10 @@ jobs:
162162
brew remove --force --ignore-dependencies openssl@3
163163
brew cleanup openssl@3
164164
165-
- name: Set up Python 3.13
166-
uses: actions/setup-python@v4
165+
- name: Set up Python 3.11
166+
uses: actions/setup-python@v6
167167
with:
168-
python-version: '3.13'
168+
python-version: '3.11'
169169

170170
- name: Install dependencies
171171
run: |
@@ -207,14 +207,14 @@ jobs:
207207
runs-on: ubuntu-22.04
208208
steps:
209209
- name: Checkout
210-
uses: actions/checkout@v3
210+
uses: 3.11
211211
with:
212212
fetch-depth: 0
213213

214-
- name: Set up Python 3.13
215-
uses: actions/setup-python@v4
214+
- name: Set up Python 3.11
215+
uses: actions/setup-python@v6
216216
with:
217-
python-version: '3.13'
217+
python-version: '3.11'
218218

219219
- name: Install dependencies
220220
run: |

.github/workflows/build_Linux.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ jobs:
1111
runs-on: ubuntu-22.04
1212
steps:
1313
- name: Checkout
14-
uses: actions/checkout@v3
14+
uses: 3.11
1515
with:
1616
fetch-depth: 0
1717

18-
- name: Set up Python 3.13
19-
uses: actions/setup-python@v4
18+
- name: Set up Python 3.11
19+
uses: actions/setup-python@v6
2020
with:
21-
python-version: '3.13'
21+
python-version: '3.11'
2222

2323
- name: Install dependencies
2424
run: |

.github/workflows/build_Windows.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ jobs:
2828
runs-on: windows-2022
2929
steps:
3030
- name: Checkout
31-
uses: actions/checkout@v3
31+
uses: actions/checkout@v6
3232
with:
3333
fetch-depth: 0
3434

35-
- name: Set up Python 3.13
36-
uses: actions/setup-python@v4
35+
- name: Set up Python 3.11
36+
uses: actions/setup-python@v6
3737
with:
38-
python-version: '3.13'
38+
python-version: '3.11'
3939

4040
- name: Install dependencies
4141
run: |

.github/workflows/build_macOS.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ jobs:
1111
runs-on: macos-14
1212
steps:
1313
- name: Checkout
14-
uses: actions/checkout@v3
14+
uses: actions/checkout@v6
1515
with:
1616
fetch-depth: 0
1717

18-
- name: Set up Python 3.13
19-
uses: actions/setup-python@v4
18+
- name: Set up Python 3.11
19+
uses: actions/setup-python@v6
2020
with:
21-
python-version: '3.13'
21+
python-version: '3.11'
2222

2323
- name: Install dependencies
2424
run: |
@@ -70,7 +70,7 @@ jobs:
7070
runs-on: macos-15-intel
7171
steps:
7272
- name: Checkout
73-
uses: actions/checkout@v3
73+
uses: actions/checkout@v6
7474
with:
7575
fetch-depth: 0
7676

@@ -79,10 +79,10 @@ jobs:
7979
brew remove --force --ignore-dependencies openssl@3
8080
brew cleanup openssl@3
8181
82-
- name: Set up Python 3.13
83-
uses: actions/setup-python@v4
82+
- name: Set up Python 3.11
83+
uses: actions/setup-python@v6
8484
with:
85-
python-version: '3.13'
85+
python-version: '3.11'
8686

8787
- name: Install dependencies
8888
run: |

.python-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.13
1+
3.11

0 commit comments

Comments
 (0)