Skip to content

build(deps): bump jsonrpsee from 0.21.0 to 0.22.2 #169

build(deps): bump jsonrpsee from 0.21.0 to 0.22.2

build(deps): bump jsonrpsee from 0.21.0 to 0.22.2 #169

Workflow file for this run

name: Coverage
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
jobs:
coverage:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest ]
rust: [ nightly ]
steps:
- name: Checkout Repository
uses: actions/checkout@master
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.rust }}
override: true
- name: Install wasm32-unknown-unknown
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
target: wasm32-unknown-unknown
override: true
- uses: actions-rs/[email protected]
with:
crate: cargo-tarpaulin
version: 0.20.0
use-tool-cache: true
- name: Generate code coverage
run: |
cargo +nightly tarpaulin --verbose --no-fail-fast --all-features --line -p pallet-token-swap --timeout 300 --out Xml
- name: Upload To Codecov
uses: codecov/codecov-action@v1
with:
token: ${{secrets.CODECOV_TOKEN}}
fail_ci_if_error: true
verbose: true