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 afd51b5 commit 915033fCopy full SHA for 915033f
.github/workflows/ci.yaml
@@ -0,0 +1,33 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ branches: [master]
6
+ pull_request:
7
8
+jobs:
9
+ build:
10
+ runs-on: ubuntu-latest
11
12
+ steps:
13
+ - uses: actions/checkout@v2
14
15
+ - name: Install Rust
16
+ uses: actions-rs/toolchain@v1
17
+ with:
18
+ toolchain: stable
19
+ profile: minimal
20
+ target: thumbv6m-none-eabi
21
+ override: true
22
+ components: rustfmt, clippy
23
24
+ - name: rustfmt
25
+ run: cargo fmt -- --check
26
27
+ - name: clippy
28
+ run: cargo clippy --color=always -- -D warnings
29
30
+ - name: build
31
+ run: cargo check
32
33
.gitignore
@@ -3,3 +3,5 @@
**/*.rs.bk
Cargo.lock
bloat_log*
+!.gitignore
+!.github
0 commit comments