Add adjustments from other projects and release 0.4.1 #16
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: Misc | |
on: | |
pull_request: | |
push: | |
tags: | |
- 'v*' | |
branches: [ main ] | |
workflow_dispatch: | |
concurrency: | |
group: misc-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
code-coverage: | |
name: Code coverage | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install code coverage tool | |
uses: actions-rs/[email protected] | |
with: | |
crate: cargo-tarpaulin | |
version: latest | |
- name: Collect code coverage | |
run: cargo tarpaulin --out Xml | |
- name: Upload code coverage | |
uses: codecov/codecov-action@v2 | |
valgrind: | |
name: Valgrind | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install valgrind | |
run: sudo apt-get install valgrind | |
- name: Install cargo-valgrind | |
uses: actions-rs/[email protected] | |
with: | |
crate: cargo-valgrind | |
version: latest | |
- name: Run valgrind tests | |
run: cargo valgrind test |