Currently, the Action doesn't use the matrix correctly. This leads to the default python version of 3.11.5 being installed every time. You can see that at https://github.com/SubhrajyotiSen/razorpay-python/actions/runs/6550129767/job/17788570158
Use the python-version variable during the installation step to pick up the correct value from the matrix. Making this change also reveals specifying "3.10" as Integer tries to install Python 3.1, which doesn't exist.
Hence specify the versions as String.
Currently, the Action doesn't use the matrix correctly. This leads to the default python version of 3.11.5 being installed every time. You can see that at https://github.com/SubhrajyotiSen/razorpay-python/actions/runs/6550129767/job/17788570158 Use the
python-version
variable during the installation step to pick up the correct value from the matrix. Making this change also reveals specifying "3.10" as Integer tries to install Python 3.1, which doesn't exist. Hence specify the versions as String.As per https://github.com/actions/setup-python/issues/544,
ubuntu-latest
doesn't have all the needed Python version. Hence we need to specify Ubuntu 20.04https://github.com/actions/python-versions/blob/main/versions-manifest.json specifies the Python versions available. According to it, Python 3.0.x is not available on Ubuntu. Hence remove it. I can add support for it by introducing a windows runner