Skip to content

fix: pin nightly version on source cov workflow (#120) #91

fix: pin nightly version on source cov workflow (#120)

fix: pin nightly version on source cov workflow (#120) #91

Workflow file for this run

name: Source Coverage
on:
push:
branches:
- main
env:
RUSTUP_TOOLCHAIN: "stable"
jobs:
coverage:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt update
sudo apt install -y jq lcov
- name: Download Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: {{ env.RUSTUP_TOOLCHAIN }}

Check failure on line 21 in .github/workflows/source-cov.yml

View workflow run for this annotation

GitHub Actions / Source Coverage

Invalid workflow file

The workflow is not valid. .github/workflows/source-cov.yml (Line: 21, Col: 22): A mapping was not expected
components: llvm-tools-preview
- name: Install requirements for code coverage
run: |
cargo install cargo-binutils
cargo install rustfilt
- name: Run test coverage
id: coverage
env:
SKIP_HTML: '1'
run: |
/bin/bash -c ./test_coverage.sh
- name: Coveralls upload
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./cov_raw/bulletproofs-plus.lcov