Skip to content

Commit f34120b

Browse files
authored
Pin to rust 1.72 in CI (#1333)
* Bump sysroot_linux-64 to 2.17 in CI * Easier fix? Pin to rust 1.72 in CI for now * Revert "Bump sysroot_linux-64 to 2.17 in CI" This reverts commit c6ce8e9. * Make sure 1.72 is used by default
1 parent 7e02237 commit f34120b

File tree

4 files changed

+24
-5
lines changed

4 files changed

+24
-5
lines changed

.github/workflows/rust.yml

+8
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ jobs:
3838
runs-on: ubuntu-latest
3939
steps:
4040
- uses: actions/checkout@v4
41+
- uses: actions-rs/toolchain@v1
42+
with:
43+
toolchain: 1.72
44+
default: true
4145
- name: Cache Cargo
4246
uses: actions/cache@v3
4347
with:
@@ -63,6 +67,10 @@ jobs:
6367
- uses: actions/checkout@v4
6468
with:
6569
submodules: true
70+
- uses: actions-rs/toolchain@v1
71+
with:
72+
toolchain: 1.72
73+
default: true
6674
- name: Cache Cargo
6775
uses: actions/cache@v3
6876
with:

.github/workflows/test-upstream.yml

+8
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@ jobs:
5656
channel-priority: strict
5757
activate-environment: dask-sql
5858
environment-file: ${{ env.CONDA_FILE }}
59+
- uses: actions-rs/toolchain@v1
60+
with:
61+
toolchain: 1.72
62+
default: true
5963
- name: Install x86_64-apple-darwin target
6064
if: matrix.os == 'macos-latest'
6165
run: rustup target add x86_64-apple-darwin
@@ -103,6 +107,10 @@ jobs:
103107
use-mamba: true
104108
python-version: "3.9"
105109
channel-priority: strict
110+
- uses: actions-rs/toolchain@v1
111+
with:
112+
toolchain: 1.72
113+
default: true
106114
- name: Install dependencies and nothing else
107115
run: |
108116
pip install -e . -vv

.github/workflows/test.yml

+7-4
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,10 @@ jobs:
7878
activate-environment: dask-sql
7979
environment-file: ${{ env.CONDA_FILE }}
8080
run-post: ${{ matrix.os != 'windows-latest' && 'true' || 'false' }}
81-
- name: Cache Rust
82-
uses: Swatinem/rust-cache@v2
81+
- uses: actions-rs/toolchain@v1
8382
with:
84-
workspaces: dask_planner
85-
shared-key: test
83+
toolchain: 1.72
84+
default: true
8685
- name: Install x86_64-apple-darwin target
8786
if: matrix.os == 'macos-latest'
8887
run: rustup target add x86_64-apple-darwin
@@ -128,6 +127,10 @@ jobs:
128127
use-mamba: true
129128
python-version: "3.9"
130129
channel-priority: strict
130+
- uses: actions-rs/toolchain@v1
131+
with:
132+
toolchain: 1.72
133+
default: true
131134
- name: Install dependencies and nothing else
132135
run: |
133136
pip install -e . -vv

docs/environment.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ dependencies:
1919
- pygments>=2.7.1
2020
- tabulate
2121
- ucx-proc=*=cpu
22-
- rust>=1.72
22+
- rust=1.72

0 commit comments

Comments
 (0)