Skip to content

build(deps): bump clap from 4.4.18 to 4.5.4 #175

build(deps): bump clap from 4.4.18 to 4.5.4

build(deps): bump clap from 4.4.18 to 4.5.4 #175

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/install@v0.1.2
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