The current version (which I guess is 2.17.1 from Bionic) causes GitHub Actions to not actually expose the Git repo as a repo but just check out the bare files, which can be a hard-to-debug surprise when people rely on the image in GitHub Actions.
The repository will be downloaded using the GitHub REST API
To create a local Git repository instead, add Git 2.18 or higher to the PATH
The current version (which I guess is 2.17.1 from Bionic) causes GitHub Actions to not actually expose the Git repo as a repo but just check out the bare files, which can be a hard-to-debug surprise when people rely on the image in GitHub Actions.
https://github.com/crystal-lang/crystal/runs/597246816?check_suite_focus=true#step:3:20
I've had to work around this by not using the image and instead installing Crystal with something like
snap