]> Repositorios git - scryer-prolog.git/commitdiff
Install correct locked version of iai-callgrind-runner in CI.
authorAman Verma <[email protected]>
Mon, 31 Mar 2025 09:03:31 +0000 (04:03 -0500)
committerAman Verma <[email protected]>
Mon, 31 Mar 2025 09:11:16 +0000 (04:11 -0500)
.github/workflows/ci.yml

index 8e4f447d5153c084ca650c6bab3b57e539e7b106..ab63d3af429fd2d17bf5b68bb0891ae3f56ab9db 100644 (file)
@@ -153,7 +153,7 @@ jobs:
       - name: Install CLI tools
         run: |
           cargo install cargo2junit --force
-          version=`yq -ptoml -oy -r '.target.*.dev-dependencies.iai-callgrind|select(.)' Cargo.toml`
+          version=`yq -ptoml -oj -r '.package[] | select(.name == "iai-callgrind") | .version' Cargo.lock`
           echo installing iai-callgrind "$version"
           cargo install iai-callgrind-runner --force --version "$version"
           sudo apt install valgrind -y