File tree Expand file tree Collapse file tree 2 files changed +13
-15
lines changed
Expand file tree Collapse file tree 2 files changed +13
-15
lines changed Original file line number Diff line number Diff line change 11name : Security audit
2-
32on :
43 schedule :
5- - cron : ' 40 10 * * *'
4+ - cron : " 0 0 * * *"
65 push :
76 paths :
8- - ' **/Cargo.toml'
9- - ' **/Cargo.lock'
10- - ' **/audit.yml'
7+ - " **/Cargo.toml"
8+ - " **/Cargo.lock"
9+ - " **/audit.yml"
1110 pull_request :
12-
1311jobs :
1412 audit :
1513 runs-on : ubuntu-latest
1614 steps :
17- - uses : actions/checkout@v2
18- - uses : actions-rs /audit-check@v1
15+ - uses : actions/checkout@v4
16+ - uses : rustsec /audit-check@v2
1917 with :
2018 token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -5,18 +5,18 @@ on: [pull_request, push]
55jobs :
66 coverage :
77 runs-on : ubuntu-latest
8+ env :
9+ CARGO_TERM_COLOR : always
810 steps :
9- - uses : actions/checkout@v3
10- - name : Set nightly
11- run : rustup override set nightly
12- - name : Install llvm-tools-preview
13- run : rustup component add llvm-tools-preview
11+ - uses : actions/checkout@v4
12+ - name : Install Rust
13+ run : rustup update stable
1414 - name : Install cargo-llvm-cov
1515 uses : taiki-e/install-action@cargo-llvm-cov
1616 - name : Generate code coverage
17- run : cargo llvm-cov --all-features -- workspace --lcov --output-path lcov.info
17+ run : cargo llvm-cov --workspace --lcov --output-path lcov.info
1818 - name : Upload coverage to Codecov
19- uses : codecov/codecov-action@v1
19+ uses : codecov/codecov-action@v3
2020 with :
2121 files : lcov.info
2222 fail_ci_if_error : true
You can’t perform that action at this time.
0 commit comments