Skip to content

fix(complete): skip unreadable files in fish shebang completion scan #1574

fix(complete): skip unreadable files in fish shebang completion scan

fix(complete): skip unreadable files in fish shebang completion scan #1574

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@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
- uses: jdx/mise-action@e6a8b3978addb5a52f2b4cd9d91eafa7f0ab959d # v4.2.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