Skip to content

Commit a001ae5

Browse files
committed
Update outdated GitHub Actions workflow
1 parent 484933c commit a001ae5

File tree

1 file changed

+17
-25
lines changed

1 file changed

+17
-25
lines changed

.github/workflows/test.yml

+17-25
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ jobs:
1313
strategy:
1414
matrix:
1515
include:
16-
- python-version: 3.7
17-
python-release: v3.7
18-
python-impl: CPython
1916
- python-version: 3.8
2017
python-release: v3.8
2118
python-impl: CPython
@@ -31,21 +28,20 @@ jobs:
3128
- python-version: "3.12"
3229
python-release: v3.12
3330
python-impl: CPython
31+
- python-version: "3.13"
32+
python-release: v3.13
33+
python-impl: CPython
3434
steps:
3535
- name: Checkout code
36-
uses: actions/checkout@v3
36+
uses: actions/checkout@v4
3737
with:
3838
submodules: recursive
3939
- name: Setup Python ${{ matrix.python-version }}
40-
uses: actions/setup-python@v2
40+
uses: actions/setup-python@v5
4141
with:
4242
python-version: ${{ matrix.python-version }}
43-
- name: Setup Rust nightly
44-
uses: actions-rs/toolchain@v1
45-
with:
46-
profile: minimal
47-
toolchain: nightly
48-
override: true
43+
- name: Setup Rust
44+
uses: dtolnay/rust-toolchain@stable
4945
- name: Update CI requirements
5046
run: python -m pip install -U -r .github/workflows/requirements.txt
5147
- name: Build extension
@@ -61,15 +57,12 @@ jobs:
6157

6258
test_macos:
6359
name: Test (MacOS)
64-
runs-on: macos-12
60+
runs-on: macos-latest
6561
env:
6662
OS: MacOS
6763
strategy:
6864
matrix:
6965
include:
70-
- python-version: 3.7
71-
python-release: v3.7
72-
python-impl: CPython
7366
- python-version: 3.8
7467
python-release: v3.8
7568
python-impl: CPython
@@ -85,21 +78,20 @@ jobs:
8578
- python-version: "3.12"
8679
python-release: v3.12
8780
python-impl: CPython
81+
- python-version: "3.13"
82+
python-release: v3.13
83+
python-impl: CPython
8884
steps:
8985
- name: Checkout code
90-
uses: actions/checkout@v3
86+
uses: actions/checkout@v4
9187
with:
9288
submodules: recursive
9389
- name: Setup Python ${{ matrix.python-version }}
94-
uses: actions/setup-python@v2
90+
uses: actions/setup-python@v5
9591
with:
9692
python-version: ${{ matrix.python-version }}
97-
- name: Setup Rust nightly
98-
uses: actions-rs/toolchain@v1
99-
with:
100-
profile: minimal
101-
toolchain: nightly
102-
override: true
93+
- name: Setup Rust
94+
uses: dtolnay/rust-toolchain@stable
10395
- name: Update CI requirements
10496
run: python -m pip install -U -r .github/workflows/requirements.txt
10597
- name: Build extension
@@ -138,11 +130,11 @@ jobs:
138130
# python-impl: CPython
139131
# steps:
140132
# - name: Checkout code
141-
# uses: actions/checkout@v3
133+
# uses: actions/checkout@v4
142134
# with:
143135
# submodules: recursive
144136
# - name: Setup Python ${{ matrix.python-version }}
145-
# uses: actions/setup-python@v2
137+
# uses: actions/setup-python@v5
146138
# with:
147139
# python-version: ${{ matrix.python-version }}
148140
# - name: Setup Rust nightly

0 commit comments

Comments
 (0)