Skip to content

Commit 5913e3a

Browse files
committed
Use install-action to install valgrind
1 parent 9e595f7 commit 5913e3a

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,7 @@ jobs:
2828
- name: Install cargo-hack
2929
uses: taiki-e/install-action@cargo-hack
3030
- name: Install valgrind
31-
run: |
32-
sudo apt-get update -qq
33-
# libc6-dbg is needed to run Valgrind
34-
sudo apt-get install -y libc6-dbg
35-
# Use snap to install the latest Valgrind
36-
# https://snapcraft.io/install/valgrind/ubuntu
37-
sudo snap install valgrind --classic
31+
uses: taiki-e/install-action@valgrind
3832
- run: cargo build --all --all-features --all-targets
3933
if: startsWith(matrix.rust, 'nightly')
4034
- run: cargo hack build --feature-powerset --no-dev-deps

0 commit comments

Comments
 (0)