Skip to content

Commit 23bc5bc

Browse files
committed
chore: add updating Rust version.
1 parent 92b954b commit 23bc5bc

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/release-python.yml

+13
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ on:
1818

1919
env:
2020
PYTHON_VERSION: '3.10'
21+
RUST_VERSION: '1.80.1'
2122

2223
permissions:
2324
contents: read
@@ -41,6 +42,9 @@ jobs:
4142
- uses: actions/setup-python@v5
4243
with:
4344
python-version: ${{ env.PYTHON_VERSION }}
45+
- uses: actions-rust-lang/setup-rust-toolchain@v1
46+
with:
47+
toolchain: ${{ env.RUST_VERSION }}
4448
- name: Install dependencies
4549
run: |
4650
python3 -m ensurepip
@@ -77,6 +81,9 @@ jobs:
7781
- uses: actions/setup-python@v5
7882
with:
7983
python-version: ${{ env.PYTHON_VERSION }}
84+
- uses: actions-rust-lang/setup-rust-toolchain@v1
85+
with:
86+
toolchain: ${{ env.RUST_VERSION }}
8087
- name: Install dependencies
8188
run: |
8289
sudo apt-get update
@@ -109,6 +116,9 @@ jobs:
109116
with:
110117
python-version: ${{ env.PYTHON_VERSION }}
111118
architecture: ${{ matrix.platform.target }}
119+
- uses: actions-rust-lang/setup-rust-toolchain@v1
120+
with:
121+
toolchain: ${{ env.RUST_VERSION }}
112122
- name: Install dependencies
113123
run: |
114124
choco install openssl
@@ -140,6 +150,9 @@ jobs:
140150
- uses: actions/setup-python@v5
141151
with:
142152
python-version: ${{ env.PYTHON_VERSION }}
153+
- uses: actions-rust-lang/setup-rust-toolchain@v1
154+
with:
155+
toolchain: ${{ env.RUST_VERSION }}
143156
- name: Install dependencies
144157
run: |
145158
brew install openssl

0 commit comments

Comments
 (0)