File tree Expand file tree Collapse file tree 4 files changed +71
-0
lines changed Expand file tree Collapse file tree 4 files changed +71
-0
lines changed Original file line number Diff line number Diff line change
1
+ required_approvals = 1
2
+ block_labels = [" wip" ]
3
+ delete_merged_branches = true
4
+ status = [
5
+ " Rustfmt" ,
6
+ " build (stable)" ,
7
+ " build (1.51.0)" ,
8
+ ]
Original file line number Diff line number Diff line change
1
+ on :
2
+ pull_request_target :
3
+
4
+ name : Changelog check
5
+
6
+ jobs :
7
+ changelog :
8
+ name : Changelog check
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - name : Checkout sources
12
+ uses : actions/checkout@v2
13
+
14
+ - name : Changelog updated
15
+
16
+ with :
17
+ fileName : CHANGELOG.md
18
+ env :
19
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change
1
+ on :
2
+ push :
3
+ branches : [ staging, trying, master ]
4
+ pull_request :
5
+
6
+ name : Clippy check
7
+ jobs :
8
+ clippy_check :
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - uses : actions/checkout@v1
12
+ - run : rustup component add clippy
13
+ - uses : actions-rs/toolchain@v1
14
+ with :
15
+ toolchain : stable
16
+ target : thumbv6m-none-eabi
17
+ override : true
18
+ - uses : actions-rs/clippy-check@v1
19
+ with :
20
+ token : ${{ secrets.GITHUB_TOKEN }}
21
+ args : --examples
Original file line number Diff line number Diff line change
1
+ on :
2
+ push :
3
+ branches : [ staging, trying, master ]
4
+ pull_request :
5
+
6
+ name : Code formatting check
7
+
8
+ jobs :
9
+ fmt :
10
+ name : Rustfmt
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - uses : actions/checkout@v2
14
+ - uses : actions-rs/toolchain@v1
15
+ with :
16
+ profile : minimal
17
+ toolchain : stable
18
+ override : true
19
+ - run : rustup component add rustfmt
20
+ - uses : actions-rs/cargo@v1
21
+ with :
22
+ command : fmt
23
+ args : --all -- --check
You can’t perform that action at this time.
0 commit comments