Previously, the CI workflow file used git -C src/tools/enzyme to try and execute a rev-parse inside the submodule. Unfortunately, this only works if that submodule is actually checked out and enzyme does not specify that. I am not quite sure where they are checked out at all, but clearly they are at some point.
The commit hash chosen for the key https://github.com/EnzymeAD/rust/issues/86#issuecomment-2028812352 here is neither the new nor the old enzyme commit, so this evidently didn't quite work out.
This PR changes the lookup to refer to the submodule instead, which should work regardless of its status on disk.
Previously, the CI workflow file used
git -C src/tools/enzyme
to try and execute arev-parse
inside the submodule. Unfortunately, this only works if that submodule is actually checked out and enzyme does not specify that. I am not quite sure where they are checked out at all, but clearly they are at some point. The commit hash chosen for the key https://github.com/EnzymeAD/rust/issues/86#issuecomment-2028812352 here is neither the new nor the old enzyme commit, so this evidently didn't quite work out.This PR changes the lookup to refer to the submodule instead, which should work regardless of its status on disk.