Skip to content

Commit 3e953a7

Browse files
committed
Add initial CI configuration
This will trigger on all pushes and all pull requests and run `cargo build` and `cargo test`, following the documentation at https://doc.rust-lang.org/cargo/guide/continuous-integration.html
1 parent b01eb3b commit 3e953a7

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/ci.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Continuous Integration
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
env:
8+
CARGO_TERM_COLOR: always
9+
10+
jobs:
11+
test:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
- name: Install Rust
16+
uses: dtolnay/rust-toolchain@stable
17+
- name: Build
18+
run: cargo build --verbose
19+
- name: Test
20+
run: cargo test --verbose

0 commit comments

Comments
 (0)