Skip to content

Update iai-callgrind requirement from 0.11.0 to 0.13.2 #186

Update iai-callgrind requirement from 0.11.0 to 0.13.2

Update iai-callgrind requirement from 0.11.0 to 0.13.2 #186

Workflow file for this run

name: Rust
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Install toolchain
uses: dtolnay/[email protected]
- name: Build
run: cargo build --verbose --all-targets
- name: Run tests
# avoid running the bench_ci, for which there is a separate github
# workflow
run: cargo test --verbose --examples --tests --bench bench
coverage:
name: Coverage
runs-on: ubuntu-22.04
container:
image: xd009642/tarpaulin:0.28.0-slim
options: --security-opt seccomp=unconfined
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install toolchain
uses: dtolnay/[email protected]
- name: Generate code coverage
run: |
cargo tarpaulin --engine llvm --verbose --timeout 120 --exclude-files shootout --exclude-files benches --exclude-files fuzz --out Lcov -- --test-threads 1
- name: upload to Coveralls
uses: coverallsapp/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: './lcov.info'
clippy:
name: Lint 📎
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install toolchain
uses: dtolnay/[email protected]
with:
components: clippy
- name: Run clippy
uses: actions-rs-plus/[email protected]
with:
args: --all-features