Skip to content

Commit 3be8534

Browse files
committed
👷 Add initial CI
Signed-off-by: Evaline Ju <69598118+evaline-ju@users.noreply.github.com>
1 parent 90cd65b commit 3be8534

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/build.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Build Orchestrator
2+
3+
on:
4+
push:
5+
branches: ["main"]
6+
pull_request:
7+
branches: ["main"]
8+
9+
env:
10+
CARGO_TERM_COLOR: always
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- uses: actions/checkout@v4
18+
- name: Build
19+
run: cargo build
20+
- name: Lint with clippy
21+
run: cargo clippy --all-targets --all-features -- -D warnings
22+
- name: Check formatting
23+
run: cargo fmt -- -check
24+
- name: Test
25+
run: cargo test
26+

0 commit comments

Comments
 (0)