Skip to content

Commit d6c58ef

Browse files
committed
fix(ci): upadte audit action to use rustsec version (#56)
add coveralls action
1 parent 3627f4e commit d6c58ef

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

template/.github/workflows/audit.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,8 @@ jobs:
1616
steps:
1717
- name: Checkout repository
1818
uses: actions/checkout@v4
19-
# Ensure that the latest version of Cargo is installed
20-
- name: Install Rust toolchain
21-
uses: dtolnay/rust-toolchain@stable
22-
- uses: Swatinem/rust-cache@v2
23-
- uses: actions-rs/audit-check@v1
19+
- name: Run security audit
20+
uses: rustsec/audit-check@v1.4.1
2421
with:
2522
token: ${{ secrets.GITHUB_TOKEN }}
2623
{% endraw %}

template/.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,5 +75,9 @@ jobs:
7575
uses: taiki-e/install-action@cargo-llvm-cov
7676
- name: Generate code coverage
7777
run: cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info
78+
- name: Coveralls
79+
uses: coverallsapp/github-action@v2
80+
with:
81+
file: lcov.info
7882
{% endraw %}
7983

0 commit comments

Comments
 (0)