Skip to content

Commit d7bd563

Browse files
byshingclaude
andcommitted
Add CI workflow to run unit tests on push and PRs
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
1 parent 4a5df39 commit d7bd563

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [master]
6+
pull_request:
7+
8+
jobs:
9+
test:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v6
13+
- uses: actions/cache@v4
14+
with:
15+
path: |
16+
~/.cargo/registry
17+
~/.cargo/git
18+
target
19+
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
20+
restore-keys: ${{ runner.os }}-cargo-
21+
- run: cargo test

0 commit comments

Comments
 (0)