We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7a04f8 commit 503d9dfCopy full SHA for 503d9df
.github/workflows/main.yml
@@ -0,0 +1,38 @@
1
+name: CI/CD Pipeline
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - 'main'
7
+ pull_request:
8
9
10
11
+jobs:
12
+ build:
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - name: Checkout code
16
+ uses: actions/checkout@v4
17
+ - name: Setup Rust toolchain
18
+ uses: actions-rs/toolchain@v1
19
+ with:
20
+ toolchain: stable
21
+ override: true
22
+ - name: Build
23
+ run: cargo build --release
24
25
+ lint:
26
27
28
29
30
31
32
33
34
35
+ - name: Format check
36
+ run: cargo fmt -- --check
37
+ - name: Clippy
38
+ run: cargo clippy -- -D warnings
0 commit comments