chore(deps): bump zerovec from 0.10.1 to 0.10.4 in the cargo group across 1 directory #66
Workflow file for this run
This file contains 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: Build | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
coverage: | |
name: Evaluate code coverage | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis | |
- name: Setup rust toolchain, cache and cargo-codspeed binary | |
uses: moonrepo/setup-rust@v0 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
channel: nightly | |
components: clippy, llvm-tools-preview | |
bins: cargo-codspeed, cargo-sonar, cargo-llvm-cov | |
- name: Run Clippy | |
run: | | |
cargo clippy --message-format json > clippy-report.json | |
cargo sonar --clippy --clippy-path clippy-report.json | |
- name: Generate code coverage | |
run: cargo llvm-cov --all-features --workspace --lcov --output-path .coverage/lcov.info | |
- name: Coveralls | |
if: ${{ success() }} | |
uses: coverallsapp/github-action@master | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
path-to-lcov: .coverage/lcov.info | |
- name: SonarCloud Scan | |
uses: SonarSource/sonarcloud-github-action@master | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any | |
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | |
with: | |
args: > | |
-Dsonar.externalIssuesReportPaths=sonar-issues.json | |
-Dcommunity.rust.lcov.reportPaths=.coverage/lcov.info | |
- name: Build the benchmark target(s) | |
run: cargo codspeed build | |
- name: Run the benchmarks | |
uses: CodSpeedHQ/action@v2 | |
with: | |
run: cargo codspeed run | |
token: ${{ secrets.CODSPEED_TOKEN }} |