Stop pinning patch version... IIUC the docs correctly, this will let it use whatever the latest patch version is.
Bump the actions versions v3. From a quick skim, none of the new changes really affect this workflow so it's safe to update. And since this is just CI, it should be quickly obvious if something is broken.
v3
. From a quick skim, none of the new changes really affect this workflow so it's safe to update. And since this is just CI, it should be quickly obvious if something is broken.