Add rust-cache in CI workflow
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
parent
f830671ee9
commit
e328924193
|
@ -16,6 +16,7 @@ jobs:
|
|||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: swatinem/rust-cache@v2
|
||||
- name: Build
|
||||
run: cargo build --verbose
|
||||
- name: Run tests
|
||||
|
@ -26,6 +27,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: swatinem/rust-cache@v2
|
||||
- name: Build-examples
|
||||
run: cargo build --examples --verbose
|
||||
|
||||
|
@ -34,6 +36,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: swatinem/rust-cache@v2
|
||||
- uses: dtolnay/rust-toolchain@master
|
||||
with:
|
||||
toolchain: 1.65.0
|
||||
|
@ -45,6 +48,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: swatinem/rust-cache@v2
|
||||
- uses: dtolnay/rust-toolchain@master
|
||||
with:
|
||||
toolchain: 1.65.0
|
||||
|
|
Loading…
Reference in New Issue