Skip to content

Commit 442d83b

Browse files
committed
Revert github action to allowed one
1 parent 5ae5d6e commit 442d83b

File tree

2 files changed

+17
-6
lines changed

2 files changed

+17
-6
lines changed

.github/workflows/build.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,13 @@ jobs:
4646
runs-on: ubuntu-latest
4747
steps:
4848
- uses: actions/checkout@v4
49-
- uses: dtolnay/rust-toolchain@stable
49+
- uses: actions-rs/toolchain@v1
50+
id: rust-toolchain
51+
with:
52+
profile: minimal
53+
toolchain: stable
54+
override: true
55+
5056
- name: Generate license file
5157
run: uv run python ./dev/create_license.py
5258
- uses: actions/upload-artifact@v4
@@ -70,7 +76,7 @@ jobs:
7076
with:
7177
python-version: ${{ matrix.python-version }}
7278

73-
- uses: dtolnay/rust-toolchain@stable
79+
- uses: actions-rs/toolchain@v1
7480
with:
7581
toolchain: stable
7682

@@ -125,7 +131,9 @@ jobs:
125131
with:
126132
python-version: ${{ matrix.python-version }}
127133

128-
- uses: dtolnay/rust-toolchain@stable
134+
- uses: actions-rs/toolchain@v1
135+
with:
136+
toolchain: stable
129137

130138
- run: rm LICENSE.txt
131139
- name: Download LICENSE.txt

.github/workflows/test.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,11 @@ jobs:
4343
- uses: actions/checkout@v4
4444

4545
- name: Setup Rust Toolchain
46-
uses: dtolnay/rust-toolchain@stable
46+
uses: actions-rs/toolchain@v1
4747
id: rust-toolchain
48+
with:
49+
toolchain: ${{ matrix.toolchain }}
50+
override: true
4851

4952
- name: Install Protoc
5053
uses: arduino/setup-protoc@v3
@@ -61,7 +64,7 @@ jobs:
6164
uses: actions/cache@v4
6265
with:
6366
path: ~/.cargo
64-
key: cargo-cache-${{ steps.rust-toolchain.outputs.cachekey }}-${{ hashFiles('Cargo.lock') }}
67+
key: cargo-cache-${{ steps.rust-toolchain.outputs.rustc_hash }}-${{ hashFiles('Cargo.lock') }}
6568

6669
- name: Check Formatting
6770
if: ${{ matrix.python-version == '3.10' && matrix.toolchain == 'stable' }}
@@ -81,7 +84,7 @@ jobs:
8184

8285
- name: FFI unit tests
8386
run: |
84-
uv run maturin develop --release --strip
87+
uv run maturin develop
8588
uv run pytest python/tests/_test_table_provider.py
8689
8790
- name: Cache the generated dataset

0 commit comments

Comments
 (0)