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 1
1
name : Security audit
2
-
3
2
on :
4
3
schedule :
5
- - cron : ' 40 10 * * *'
4
+ - cron : " 0 0 * * *"
6
5
push :
7
6
paths :
8
- - ' **/Cargo.toml'
9
- - ' **/Cargo.lock'
10
- - ' **/audit.yml'
7
+ - " **/Cargo.toml"
8
+ - " **/Cargo.lock"
9
+ - " **/audit.yml"
11
10
pull_request :
12
-
13
11
jobs :
14
12
audit :
15
13
runs-on : ubuntu-latest
16
14
steps :
17
- - uses : actions/checkout@v2
18
- - uses : actions-rs /audit-check@v1
15
+ - uses : actions/checkout@v4
16
+ - uses : rustsec /audit-check@v2
19
17
with :
20
18
token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -5,18 +5,18 @@ on: [pull_request, push]
5
5
jobs :
6
6
coverage :
7
7
runs-on : ubuntu-latest
8
+ env :
9
+ CARGO_TERM_COLOR : always
8
10
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
14
14
- name : Install cargo-llvm-cov
15
15
uses : taiki-e/install-action@cargo-llvm-cov
16
16
- 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
18
18
- name : Upload coverage to Codecov
19
- uses : codecov/codecov-action@v1
19
+ uses : codecov/codecov-action@v3
20
20
with :
21
21
files : lcov.info
22
22
fail_ci_if_error : true
You can’t perform that action at this time.
0 commit comments