feat(wallet): add transaction history #60
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test | |
on: | |
push: | |
branches: [ "main" ] | |
paths: | |
- '**.rs' | |
- 'src/**.rs' | |
pull_request: | |
branches: [ "main" ] | |
paths: | |
- '**.rs' | |
- 'src/**.rs' | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install tarpaulin | |
run: cargo install cargo-tarpaulin | |
- name: Run build | |
run: cargo build | |
- name: Run clippy | |
run: cargo clippy --all-targets --all-features -- -D warnings | |
- name: Run lint | |
run: cargo fmt -- --check | |
- name: Run tests | |
run: cargo tarpaulin --out xml | |
- name: Upload coverage reports to Codecov | |
uses: codecov/codecov-action@v3 | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
with: | |
file: ./cobertura.xml |