Skip to content

Commit e3ceb4b

Browse files
authored
set up stable Rust toolchain on all rust builds (#782)
1 parent 9be711e commit e3ceb4b

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,9 @@ jobs:
117117
steps:
118118
- uses: actions/checkout@v3
119119

120+
- name: install rust stable
121+
uses: dtolnay/rust-toolchain@stable
122+
120123
- name: cache rust
121124
uses: Swatinem/rust-cache@v2
122125
with:
@@ -158,6 +161,14 @@ jobs:
158161
with:
159162
python-version: ${{ matrix.python-version }}
160163

164+
- name: install rust stable
165+
uses: dtolnay/rust-toolchain@stable
166+
167+
- name: cache rust
168+
uses: Swatinem/rust-cache@v2
169+
with:
170+
key: test-debug
171+
161172
- run: pip install -r tests/requirements.txt
162173
- run: make build-dev
163174

0 commit comments

Comments
 (0)