Skip to content

Commit 8dc7bd8

Browse files
committed
Update to Python 3.11
1 parent 3d5da94 commit 8dc7bd8

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

.github/workflows/update.yml

+8-10
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,12 @@ on:
88
- '.github/workflows/update.yml'
99
- 'scripts/update.sh'
1010
branches:
11-
- '!3.?'
12-
- '!2.7'
11+
- '3.11'
1312
# schedule:
1413
# - cron: '0 23 * * *'
1514

1615
env:
17-
CPYTHON_BRANCH: '3.10'
16+
CPYTHON_BRANCH: '3.11'
1817
LANGUAGE: 'ja'
1918

2019
jobs:
@@ -31,10 +30,10 @@ jobs:
3130
persist-credentials: false
3231
ref: ${{ env.CPYTHON_BRANCH }}
3332
path: cpython
34-
- name: Set up Python 3.9
33+
- name: Set up Python 3.11
3534
uses: actions/setup-python@v4
3635
with:
37-
python-version: '3.9'
36+
python-version: '3.11'
3837
cache: 'pip'
3938
cache-dependency-path: '**/requirements*.txt'
4039
- name: Install Transifex CLI
@@ -74,9 +73,9 @@ jobs:
7473
needs: [update]
7574
strategy:
7675
matrix:
77-
branch: [ 3.9, 3.8, 3.7, 3.6, 2.7 ]
76+
branch: [ "3.10", "3.9", "3.8" ]
7877
include:
79-
- branch: 3.9
78+
- branch: "3.10"
8079
overwrite: true
8180
runs-on: ubuntu-latest
8281
steps:
@@ -93,10 +92,10 @@ jobs:
9392
with:
9493
ref: ${{ matrix.branch }}
9594
path: ${{ matrix.branch }}
96-
- name: Set up Python 3.9
95+
- name: Set up Python 3.11
9796
uses: actions/setup-python@v4
9897
with:
99-
python-version: '3.9'
98+
python-version: '3.11'
10099
cache: 'pip'
101100
cache-dependency-path: '**/requirements*.txt'
102101
- name: Install dependencies
@@ -124,4 +123,3 @@ jobs:
124123
git add -A
125124
git diff-index --quiet HEAD || ( git commit -m "Merge ${{ env.CURRENT_BRANCH }} into ${{ matrix.branch }}" && git push )
126125
127-

0 commit comments

Comments
 (0)