Skip to content

chore(deps): lock file maintenance lockfile maintenance #1512

chore(deps): lock file maintenance lockfile maintenance

chore(deps): lock file maintenance lockfile maintenance #1512

Workflow file for this run

name: coverage
on:
push:
branches: ["main"]
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions: {}
env:
CARGO_TERM_COLOR: always
jobs:
coverage:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
persist-credentials: false
- uses: jdx/mise-action@dba19683ed58901619b14f395a24841710cb4925 # v4.1.0
- run: rustup update stable
- run: rustup component add llvm-tools-preview --toolchain stable-x86_64-unknown-linux-gnu
- uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
- name: Install cargo-llvm-cov
uses: taiki-e/install-action@4c7e9f3bb4ca35f54341be8fc8d3608f71e4d24e # zizmor: ignore[impostor-commit] cargo-llvm-cov (tag-only ref by design)
- name: Install shells for completion integration tests
run: |
sudo apt-get update
sudo apt-get install -y zsh fish
if ! command -v pwsh >/dev/null 2>&1; then
sudo snap install powershell --classic
fi
- name: Generate code coverage
run: mise run coverage