I ran into this problem while trying to create a PR that would resolve another issue.
As mentioned in https://github.com/actions/setup-python/issues/561, ubuntu-latest is now ubuntu 22.04 and no longer supports python 3.6, so no PR will pass the test without changing the workflow.
Here is the error message for reference.
Run actions/setup-python@v2
Version 3.6 was not found in the local cache
Error: Version 3.6 with arch x64 not found
The list of all available versions can be found here: https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json
I ran into this problem while trying to create a PR that would resolve another issue. As mentioned in https://github.com/actions/setup-python/issues/561, ubuntu-latest is now ubuntu 22.04 and no longer supports python 3.6, so no PR will pass the test without changing the workflow.
Here is the error message for reference.