Skip to content

Commit 802922e

Browse files
authored
Merge pull request #408 from Hywan/feat-python-3.9
chore: Support Python 3.9
2 parents be92778 + bcef3e4 commit 802922e

File tree

9 files changed

+114
-102
lines changed

9 files changed

+114
-102
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
#{ id: 'linux-aarch64', os: ['self-hosted', 'aarch64'], rust-target: 'aarch64-unknown-linux-gnu', rust-toolchain: 'stable' },
5656
]
5757
# The job runs on different Python versions.
58-
python: [3.5, 3.6, 3.7, 3.8]
58+
python: [3.5, 3.6, 3.7, 3.8, 3.9]
5959
# As soon as one job fails in the matrix, all the other
6060
# in-progress jobs are canceled.
6161
fail-fast: true
@@ -254,10 +254,10 @@ jobs:
254254
path: target
255255
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
256256

257-
- name: Set up Python 3.8
257+
- name: Set up Python 3.9
258258
uses: actions/setup-python@v1
259259
with:
260-
python-version: 3.8
260+
python-version: 3.9
261261

262262
- name: Set up just
263263
shell: bash

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
#{ id: 'linux-aarch64', os: ['self-hosted', 'aarch64'], rust-target: 'aarch64-unknown-linux-gnu', rust-toolchain: 'stable' },
2424
]
2525
# The job runs on different Python versions.
26-
python: [3.5, 3.6, 3.7, 3.8]
26+
python: [3.5, 3.6, 3.7, 3.8, 3.9]
2727
# As soon as one job fails in the matrix, all the other
2828
# in-progress jobs are canceled.
2929
fail-fast: false
@@ -58,7 +58,7 @@ jobs:
5858
uses: actions/cache@v1
5959
with:
6060
path: target
61-
key: ${{ matrix.target.rust-target }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
61+
key: ${{ matrix.target.rust-target }}-${{ matrix.python }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
6262

6363
- name: Set up Python ${{ matrix.python }}
6464
if: matrix.target.id != 'linux-aarch64'

0 commit comments

Comments
 (0)