chore(deps): Bump taiki-e/install-action from 2.68.26 to 2.68.27 #3257
Workflow file for this run
This file contains hidden or 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: Coverage | |
| on: | |
| pull_request: | |
| paths: | |
| - '**.rs' | |
| - '.github/workflows/coverage.yml' | |
| push: | |
| paths: | |
| - '**.rs' | |
| - '.github/workflows/coverage.yml' | |
| permissions: | |
| contents: read | |
| jobs: | |
| coverage: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Harden Runner | |
| uses: step-security/harden-runner@58077d3c7e43986b6b15fba718e8ea69e387dfcc # v2.15.1 | |
| with: | |
| egress-policy: block | |
| allowed-endpoints: > | |
| api.github.com:443 | |
| cli.codecov.io:443 | |
| codecov.io:443 | |
| crates.io:443 | |
| github.com:443 | |
| index.crates.io:443 | |
| kv4gacprodeus2file3.blob.core.windows.net:443 | |
| objects.githubusercontent.com:443 | |
| static.crates.io:443 | |
| static.rust-lang.org:443 | |
| storage.googleapis.com:443 | |
| uploader.codecov.io:443 | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Install cargo-llvm-cov | |
| uses: taiki-e/install-action@5ab5d1729c22acd8f798b267eadcfe5e5be6f5c2 # v2.68.27 | |
| with: | |
| tool: cargo-llvm-cov | |
| - name: Install dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y libmagic-dev | |
| - name: Generate code coverage | |
| run: cargo llvm-cov --features=sqlite --workspace --lcov --output-path lcov.info | |
| - name: Upload coverage to Codecov | |
| uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| files: lcov.info | |
| fail_ci_if_error: false |