Update CI to run with later python versions and update to
align with latest available versions provided by github actions.
Pin to using ubuntu version 22.04 as this is the latest that support all
python versions.
Later versions of pylint include additional suggestions
including features from the latest versions of Python. Until
we can update our code base to make use of the new features
fix the version of pylint to a known version.