This repository was archived by the owner on May 5, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525 repo : ${{ github.event.repository.name }}
2626 pr_sha : ${{ github.event.pull_request.head.sha || github.sha }}
2727 secrets : inherit
28+
29+ test :
30+ runs-on : ubuntu-latest
31+ steps :
32+ - uses : actions/checkout@v4
33+ - uses : dtolnay/rust-toolchain@stable
34+ - uses : actions/cache@v4
35+ with :
36+ path : |
37+ ~/.cargo/registry
38+ ~/.cargo/git
39+ target
40+ key : ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
41+ - run : cargo test --lib
42+
43+ coverage :
44+ runs-on : ubuntu-latest
45+ steps :
46+ - uses : actions/checkout@v4
47+ - uses : dtolnay/rust-toolchain@stable
48+ - uses : actions/cache@v4
49+ with :
50+ path : |
51+ ~/.cargo/registry
52+ ~/.cargo/git
53+ target
54+ key : ${{ runner.os }}-cargo-cov-${{ hashFiles('**/Cargo.lock') }}
55+ - run : cargo install cargo-llvm-cov --locked || true
56+ - run : cargo llvm-cov test --lib --lcov --output-path lcov.info
57+ - uses : codecov/codecov-action@v4
58+ with :
59+ files : lcov.info
60+ continue-on-error : true
61+
62+ security :
63+ runs-on : ubuntu-latest
64+ steps :
65+ - uses : actions/checkout@v4
66+ - uses : dtolnay/rust-toolchain@stable
67+ - run : cargo install cargo-audit --locked || true
68+ - run : cargo audit
You can’t perform that action at this time.
0 commit comments