Skip to content

Commit f91a459

Browse files
committed
Add cache, test step.
1 parent 183793a commit f91a459

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/build-and-test.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,14 @@ jobs:
77
name: Rust project
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/checkout@v2
10+
- uses: actions/checkout@v3
11+
- uses: Swatinem/rust-cache@v2
1112
- uses: actions-rs/toolchain@v1
1213
with:
1314
toolchain: stable
15+
- uses: actions-rs/cargo@v1
16+
with:
17+
command: test
1418
- uses: actions-rs/cargo@v1
1519
with:
1620
command: build

0 commit comments

Comments
 (0)