File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ push :
5
+ branches : [ "*" ]
6
+ pull_request :
7
+
8
+ env :
9
+ CARGO_TERM_COLOR : always
10
+
11
+ concurrency :
12
+ group : ${{ github.workflow }}-${{ github.ref }}
13
+ cancel-in-progress : true
14
+
15
+ jobs :
16
+ test :
17
+ runs-on : ubuntu-latest
18
+ steps :
19
+ - uses : actions/checkout@v3
20
+ - name : cargo test default
21
+ run : cargo test
22
+ - name : cargo test locking-rt-safe
23
+ run : cargo test --no-default-features -F locking-rt-safe
24
+ fmt :
25
+ runs-on : ubuntu-latest
26
+ steps :
27
+ - uses : actions/checkout@v3
28
+ - name : cargo fmt
29
+ run : cargo fmt --check
30
+ clippy :
31
+ runs-on : ubuntu-latest
32
+ steps :
33
+ - uses : actions/checkout@v3
34
+ - name : cargo clippy
35
+ run : |
36
+ cargo clippy -F exporter-ui --all-targets -- -W clippy::all -W clippy::pedantic \
37
+ -A clippy::used-underscore-binding \
38
+ -A clippy::doc_markdown \
39
+ -A clippy::needless_pass_by_value \
40
+ -A clippy::must_use_candidate \
41
+ -A clippy::return_self_not_must_use \
42
+ -A clippy::missing_errors_doc \
43
+ -A clippy::single_match \
44
+ -A clippy::uninlined_format_args \
45
+ -A clippy::no_effect_underscore_binding
You can’t perform that action at this time.
0 commit comments