Skip to content

Commit

Permalink
fix(ci): upadte audit action to use rustsec version (rust-github#56)
Browse files Browse the repository at this point in the history
add coveralls action
  • Loading branch information
joshrotenberg committed Apr 2, 2024
1 parent 3627f4e commit d6c58ef
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
7 changes: 2 additions & 5 deletions template/.github/workflows/audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,8 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
# Ensure that the latest version of Cargo is installed
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- uses: actions-rs/audit-check@v1
- name: Run security audit
uses: rustsec/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
{% endraw %}
4 changes: 4 additions & 0 deletions template/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,5 +75,9 @@ jobs:
uses: taiki-e/install-action@cargo-llvm-cov
- name: Generate code coverage
run: cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info
- name: Coveralls
uses: coverallsapp/github-action@v2
with:
file: lcov.info
{% endraw %}

0 comments on commit d6c58ef

Please sign in to comment.