Add fallback for tx hash resolution by cid in claim token API #934
This file contains hidden or 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: Code coverage | |
concurrency: | |
group: "${{ github.workflow }}-${{ github.ref }}" | |
cancel-in-progress: "${{ github.ref != 'refs/heads/main' }}" | |
"on": | |
workflow_dispatch: | |
merge_group: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
jobs: | |
codedov: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v5 | |
with: | |
fetch-depth: 2 # needed by codecov sometimes | |
- uses: taiki-e/install-action@cargo-llvm-cov | |
- run: cargo llvm-cov --all-features --lcov --output-path lcov.info | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: lcov.info | |
path: lcov.info | |
if-no-files-found: error | |
- name: Upload to codecov | |
if: env.CODECOV_TOKEN != '' | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
run: | | |
curl -Os https://uploader.codecov.io/latest/linux/codecov | |
chmod +x codecov | |
./codecov -f lcov.info -Z |