Skip to content

Commit 4b02ce3

Browse files
committed
Add test run to workflow
1 parent afde678 commit 4b02ce3

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

.github/workflows/main.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,23 @@ on:
88
workflow_dispatch:
99

1010
jobs:
11-
build:
11+
run-tests:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- id: checkout
15+
uses: actions/checkout@v3
16+
- name: Cache
17+
uses: actions/cache@v4
18+
with:
19+
path: |
20+
~/.cargo/bin/
21+
~/.cargo/registry/index/
22+
~/.cargo/registry/cache/
23+
~/.cargo/git/db/
24+
target/
25+
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
26+
- run: cargo test --locked
27+
build-container:
1228
permissions:
1329
packages: write
1430
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)