mirror of
https://github.com/isar/rusqlite.git
synced 2024-11-23 00:39:20 +08:00
Use hecrj/setup-rust-action for some CI since it has better matchers
This commit is contained in:
parent
2c8f8b0eab
commit
47b7c5508f
19
.github/workflows/main.yml
vendored
19
.github/workflows/main.yml
vendored
@ -25,13 +25,11 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions-rs/toolchain@v1
|
# This has a matcher for test panics, so we use it even though elsewhere
|
||||||
|
# we use actions-rs/toolchain.
|
||||||
|
- uses: hecrj/setup-rust-action@v1
|
||||||
with:
|
with:
|
||||||
target: ${{ matrix.platform.target }}
|
rust-version: stable
|
||||||
default: true
|
|
||||||
profile: minimal
|
|
||||||
toolchain: stable
|
|
||||||
override: true
|
|
||||||
|
|
||||||
- uses: actions-rs/cargo@v1
|
- uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
@ -99,11 +97,12 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions-rs/toolchain@v1
|
# This has a matcher for rustfmt errors, so we use it even though
|
||||||
|
# elsewhere we use actions-rs/toolchain.
|
||||||
|
- uses: hecrj/setup-rust-action@v1
|
||||||
with:
|
with:
|
||||||
profile: minimal
|
rust-version: stable
|
||||||
toolchain: stable
|
components: rustfmt
|
||||||
override: true
|
|
||||||
- run: rustup component add rustfmt
|
- run: rustup component add rustfmt
|
||||||
- uses: actions-rs/cargo@v1
|
- uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
|
Loading…
Reference in New Issue
Block a user