Skip to content

fix: audit fix issues: 1,4,5 and suggestion(2) #8

fix: audit fix issues: 1,4,5 and suggestion(2)

fix: audit fix issues: 1,4,5 and suggestion(2) #8

Workflow file for this run

name: Coverage
on:
pull_request:
branches:
- main
- develop
jobs:
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
components: rustfmt, clippy
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov
- name: Making coverage dir
run: mkdir coverage
- name: Generate code coverage
run: cargo llvm-cov --lcov --output-path coverage/lcov.info --ignore-filename-regex '(storage.rs|events.rs|macros|errors.rs|proxies)'
- name: Generating report
uses: vebr/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
lcov-file: ./coverage/lcov.info