build(deps): Bump strum_macros from 0.26.1 to 0.26.2 #1106
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 |