File tree 1 file changed +11
-3
lines changed
1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -16,13 +16,21 @@ jobs:
16
16
17
17
steps :
18
18
- uses : actions/checkout@v3
19
- - name : Build
20
- run : cargo build --verbose
21
- - name : Prepare
19
+ - name : Download resources
22
20
run : |
23
21
wget -O GeoLite2-Country.mmdb https://git.io/GeoLite2-Country.mmdb
22
+ - uses : actions-rs/toolchain@v1
23
+ with :
24
+ toolchain : nightly
25
+ override : true
26
+ - name : Build
27
+ run : cargo build --verbose
24
28
- name : Run tests
25
29
run : cargo test --verbose
30
+ env :
31
+ CARGO_INCREMENTAL : ' 0'
32
+ RUSTFLAGS : ' -Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests'
33
+ RUSTDOCFLAGS : ' -Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests'
26
34
- name : rust-grcov
27
35
uses :
actions-rs/[email protected]
28
36
- name : Upload coverage reports to Codecov
You can’t perform that action at this time.
0 commit comments