Skip to content

Commit 3d281c5

Browse files
committed
replace rust toolchain action
1 parent 3f11ba2 commit 3d281c5

File tree

2 files changed

+9
-13
lines changed

2 files changed

+9
-13
lines changed

.github/workflows/release.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,10 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v2
14-
# This has a matcher for test panics, so we use it even though elsewhere
15-
# we use actions-rs/toolchain.
16-
- uses: hecrj/setup-rust-action@v1
14+
- uses: actions-rust-lang/setup-rust-toolchain@v1
1715
with:
18-
rust-version: stable${{ matrix.host }}
19-
targets: ${{ matrix.target }}
16+
toolchain: stable
17+
target: ${{ matrix.target }}
2018
components: 'rustfmt, clippy'
2119

2220
# cargo publish

.github/workflows/rust.yaml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,10 @@ jobs:
2626
runs-on: ${{ matrix.os }}
2727
steps:
2828
- uses: actions/checkout@v2
29-
# This has a matcher for test panics, so we use it even though elsewhere
30-
# we use actions-rs/toolchain.
31-
- uses: hecrj/setup-rust-action@v1
29+
- uses: actions-rust-lang/setup-rust-toolchain@v1
3230
with:
33-
rust-version: stable${{ matrix.host }}
34-
targets: ${{ matrix.target }}
31+
toolchain: stable
32+
target: ${{ matrix.target }}
3533
components: 'rustfmt, clippy'
3634

3735
# download libduckdb
@@ -112,9 +110,9 @@ jobs:
112110
key: index-${{ runner.os }}-${{ github.run_number }}
113111
restore-keys: |
114112
index-${{ runner.os }}-
115-
- uses: hecrj/setup-rust-action@v1
113+
- uses: actions-rust-lang/setup-rust-toolchain@v1
116114
with:
117-
rust-version: stable
118-
targets: x86_64-pc-windows-msvc
115+
toolchain: stable
116+
target: x86_64-pc-windows-msvc
119117

120118
- run: cargo install cargo-examples

0 commit comments

Comments
 (0)