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
22
33on :
44 pull_request :
5+ types :
6+ - opened
7+ - reopened
8+ - synchronize
9+ - ready_for_review
510 push :
611 branches :
712 - main
2227
2328jobs :
2429 cargo-fmt :
30+ if : github.event.pull_request.draft == false
2531 name : ' fmt'
2632 runs-on : ubuntu-latest
2733 steps :
3339 - run : deno run --allow-write --allow-read --allow-run --allow-net ./scripts/format.js --check
3440
3541 cargo-clippy :
42+ if : github.event.pull_request.draft == false
3643 name : ' cargo clippy'
3744 runs-on : ubuntu-latest
3845 steps :
4653 - run : ./scripts/clippy.sh
4754
4855 cargo-test :
56+ if : github.event.pull_request.draft == false
4957 name : ' cargo test'
5058 runs-on : ubuntu-latest
5159 steps :
Original file line number Diff line number Diff line change 11[toolchain ]
22channel = " 1.82.0"
3+ components = [" rustfmt" , " clippy" ]
You can’t perform that action at this time.
0 commit comments