Bump thiserror from 1.0.50 to 1.0.51 #118
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: Rust | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build | |
run: cargo build --verbose --examples | |
- name: Run tests | |
run: cargo test --verbose | |
- name: Set up environment | |
run: | | |
sudo apt update | |
sudo apt install -y libev-dev valgrind | |
- name: Run Tests with Valgrind | |
run: | | |
touch results | |
valgrind --leak-check=full --track-origins=yes -q ./target/debug/examples/dijkstras_shortest_path >> results | |
valgrind --leak-check=full --track-origins=yes -q ./target/debug/examples/serde_example >> results | |
valgrind --leak-check=full --track-origins=yes -q ./target/debug/examples/edmonds_karps_maximum_flow >> results | |
valgrind --leak-check=full --track-origins=yes -q ./target/debug/examples/prim_minimum_spanning_tree >> results | |
# valgrind --leak-check=full --track-origins=yes -q ./target/debug/examples/kojarasus_strongly_connected_components >> results | |
[ -s ./results ] && (cat ./results && exit -1) || echo "No leaks detected" |