This PR cleans up the environment variables before running a job, which fixes #63.
For now, we're keeping the HOME as suggested in the comment.
Some of the env vars are created when we run a shell command, like SHLVL, PWD and _, so they're also expected to be present.
the macos failure is a flake. The binary changed locations remotely. You can cherry-pick 6d45a32cd857ff9400de9446a2237666dbf97004 to fix it
the formatting check is real; you'll need to follow the steps mentioned in the output to fix it
I'm not sure about the Linux build. GitHub actions cancels jobs for one OS if another OS fails. Unhelpful. Surely there's a way to fix it but for now you'll need to get macos and formatters running before we can get feedback on Linux.
This PR cleans up the environment variables before running a job, which fixes #63. For now, we're keeping the
HOME
as suggested in the comment. Some of the env vars are created when we run a shell command, likeSHLVL
,PWD
and_
, so they're also expected to be present.