run apt update before apt install

https://github.com/orgs/community/discussions/145882#discussioncomment-11447924
This commit is contained in:
Skgland
2026-02-20 23:00:45 +01:00
committed by Bennet Bleßmann
parent 0ceab41b39
commit 2dc904aa73

View File

@@ -180,6 +180,7 @@ jobs:
version=`yq -ptoml -oj -r '.package[] | select(.name == "iai-callgrind") | .version' Cargo.lock` version=`yq -ptoml -oj -r '.package[] | select(.name == "iai-callgrind") | .version' Cargo.lock`
echo installing iai-callgrind "$version" echo installing iai-callgrind "$version"
cargo install iai-callgrind-runner --force --version "$version" cargo install iai-callgrind-runner --force --version "$version"
sudo apt-get update -y
sudo apt-get install valgrind -y sudo apt-get install valgrind -y
- name: Test and report - name: Test and report