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 a5f2c7b commit 7ed81c9Copy full SHA for 7ed81c9
.github/workflows/ci.yaml
@@ -0,0 +1,34 @@
1
+name: Openmina CI
2
+on: [ push, pull_request, workflow_dispatch ]
3
+
4
+jobs:
5
+ build:
6
+ runs-on: ubuntu-latest
7
+ steps:
8
+ - name: Git checkout
9
+ uses: actions/checkout@v3
10
11
+ - name: Setup Rust
12
+ uses: actions-rs/toolchain@v1
13
+ with:
14
+ toolchain: nightly
15
+ override: true
16
+ components: rustfmt, clippy
17
18
+ - name: Check
19
+ uses: actions-rs/cargo@v1
20
21
+ command: check
22
23
+ - name: Clippy
24
25
26
+ command: clippy
27
+ # don't fail the job until clippy is fixed
28
+ continue-on-error: true
29
30
+ - name: Release build
31
32
33
+ command: build
34
+ args: --release --bin openmina
0 commit comments