forked from mirrors/jj
github: use actions-rs/cargo
instead of run
From https://github.com/actions-rs/cargo#use-cases, it sounds like errors may be presented in a nicer way if we use `actions-rs/cargo` instead of a simple `run`, so let's try it.
This commit is contained in:
parent
f112b5225c
commit
e0cd81cab4
1 changed files with 8 additions and 4 deletions
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
|
@ -22,11 +22,15 @@ jobs:
|
||||||
override: true
|
override: true
|
||||||
profile: minimal
|
profile: minimal
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
uses: actions-rs/cargo@v1
|
||||||
cargo build --workspace --verbose
|
with:
|
||||||
|
command: build
|
||||||
|
args: --workspace --verbose
|
||||||
- name: Test
|
- name: Test
|
||||||
run: |
|
uses: actions-rs/cargo@v1
|
||||||
cargo test --workspace --verbose
|
with:
|
||||||
|
command: test
|
||||||
|
args: --workspace --verbose
|
||||||
env:
|
env:
|
||||||
RUST_BACKTRACE: 1
|
RUST_BACKTRACE: 1
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue