File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,11 @@ name: CI
2
2
3
3
on :
4
4
pull_request :
5
+ types :
6
+ - opened
7
+ - reopened
8
+ - synchronize
9
+ - ready_for_review
5
10
push :
6
11
branches :
7
12
- main
22
27
23
28
jobs :
24
29
cargo-fmt :
30
+ if : github.event.pull_request.draft == false
25
31
name : ' fmt'
26
32
runs-on : ubuntu-latest
27
33
steps :
33
39
- run : deno run --allow-write --allow-read --allow-run --allow-net ./scripts/format.js --check
34
40
35
41
cargo-clippy :
42
+ if : github.event.pull_request.draft == false
36
43
name : ' cargo clippy'
37
44
runs-on : ubuntu-latest
38
45
steps :
46
53
- run : ./scripts/clippy.sh
47
54
48
55
cargo-test :
56
+ if : github.event.pull_request.draft == false
49
57
name : ' cargo test'
50
58
runs-on : ubuntu-latest
51
59
steps :
Original file line number Diff line number Diff line change 1
1
[toolchain ]
2
2
channel = " 1.82.0"
3
+ components = [" rustfmt" , " clippy" ]
You can’t perform that action at this time.
0 commit comments