Skip to content
This repository was archived by the owner on Jan 5, 2026. It is now read-only.

Commit b47364c

Browse files
ci
1 parent 19c4c8c commit b47364c

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.github/workflows/ci.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
workflow_dispatch:
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- name: Checkout code
18+
uses: actions/checkout@v6
19+
20+
- name: Set up Rust
21+
uses: actions-rs/toolchain@v1
22+
with:
23+
profile: minimal
24+
25+
- name: Run formatter check
26+
run: cargo fmt -- --check
27+
28+
- name: Run linter
29+
run: cargo clippy --all-targets --all-features
30+
31+
- name: Build Rust project
32+
run: cargo build --release
33+
34+
- name: Run tests
35+
run: cargo test --release

0 commit comments

Comments
 (0)