build(deps): Bump regex from 1.10.3 to 1.10.5 #1145
Workflow file for this run
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: Bindings coverage | |
# Based on https://github.com/actions-rs/example/blob/master/.github/workflows/quickstart.yml | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
coverage: | |
name: Upload coverage | |
runs-on: ubuntu-latest | |
timeout-minutes: 6 | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v2 | |
- name: Verify .rs files 👀 | |
uses: technote-space/[email protected] | |
id: git_diff | |
with: | |
PATTERNS: | | |
**/**.rs | |
- name: Setup Rust ⚙ | |
if: env.GIT_DIFF | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: 1.71.1 | |
override: true | |
- name: Prepare rust cache 🗄️ | |
if: env.GIT_DIFF | |
uses: Swatinem/rust-cache@v2 | |
- name: Install cargo-tarpaulin ⚙ | |
if: env.GIT_DIFF | |
run: cargo install cargo-tarpaulin | |
- name: Generate coverage report 🧪 | |
if: env.GIT_DIFF | |
working-directory: ./packages/bindings | |
run: cargo tarpaulin --avoid-cfg-tarpaulin --all-features --out xml | |
env: | |
RUST_BACKTRACE: 1 | |
- name: Upload coverage 📤 | |
if: env.GIT_DIFF | |
uses: codecov/codecov-action@v2 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
files: ./packages/bindings/cobertura.xml |