mirror of
https://github.com/Llewellynvdm/zoxide.git
synced 2024-11-10 23:30:57 +00:00
Add workflow for cargo-test
This commit is contained in:
parent
88fc3b2cfb
commit
dfcb08bad4
2
.github/workflows/cargo-fmt.yml
vendored
2
.github/workflows/cargo-fmt.yml
vendored
@ -2,8 +2,6 @@ name: cargo-fmt
|
||||
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- "**/*.rs"
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
|
20
.github/workflows/cargo-test.yml
vendored
Normal file
20
.github/workflows/cargo-test.yml
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
name: cargo-test
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
fmt:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: stable
|
||||
override: true
|
||||
- uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: test
|
||||
args: --workspace --all-features --no-fail-fast
|
Loading…
Reference in New Issue
Block a user