Skip to content

Commit a5666bf

Browse files
committed
add ci
1 parent 89929ab commit a5666bf

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
build-and-test:
9+
runs-on: ubuntu_latest
10+
11+
steps:
12+
- name: Checkout code
13+
uses: actions/checkout@v6
14+
15+
- name: Install Rust
16+
uses: actions-rs/toolchain@v1
17+
with:
18+
toolchain: stable
19+
override: true
20+
21+
- name: Cargo Build
22+
run: cargo build --verbose
23+
24+
- name: Cargo run
25+
run: cargo run --verbose
26+
27+
28+

0 commit comments

Comments
 (0)