Skip to content

chore(deps): Bump EmbarkStudios/cargo-deny-action from 2.0.20 to 2.1.1 #939

chore(deps): Bump EmbarkStudios/cargo-deny-action from 2.0.20 to 2.1.1

chore(deps): Bump EmbarkStudios/cargo-deny-action from 2.0.20 to 2.1.1 #939

Workflow file for this run

name: Code coverage
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
permissions: {}
env:
CARGO_TERM_COLOR: always
jobs:
code_coverage:
name: Code Coverage
runs-on: "ubuntu-latest"
permissions:
contents: read
id-token: write
if: github.event_name == 'push' || !github.event.pull_request.draft
steps:
- name: Checkout repository
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
ref: ${{ github.event.pull_request.head.sha }}
persist-credentials: false
- name: Install Rust
uses: dtolnay/rust-toolchain@e97e2d8cc328f1b50210efc529dca0028893a2d9
with:
toolchain: stable
- name: Load cache
uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4
- name: Install cargo-llvm-cov, nextest, just
uses: taiki-e/install-action@16b05812d776ae1dfaabc8277e421fb6d2506419
with:
tool: cargo-llvm-cov,nextest,just
- name: Create the coverage report
run: just coverage-codecov
- name: Upload coverage to Codecov
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f
with:
use_oidc: true
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f
with:
use_oidc: true
report_type: "test_results"