[X] I searched in the issues and found nothing similar.
Motivation
The workflows currently contained mixed usage of runs-on: ubuntu-latest and runs-on: ubuntu-20.04.
It's better to be consistent and use runs-on: ubuntu-20.04 for all cases. It's better to be able to control when we switch to use ubuntu-22.04 image instead of letting GitHub decide.
For macOS, we should replace macos-latest with macos-11 for the similar reason.
Search before asking
Motivation
The workflows currently contained mixed usage of
runs-on: ubuntu-latest
andruns-on: ubuntu-20.04
. It's better to be consistent and useruns-on: ubuntu-20.04
for all cases. It's better to be able to control when we switch to useubuntu-22.04
image instead of letting GitHub decide. For macOS, we should replacemacos-latest
withmacos-11
for the similar reason.Available image definitions are listed at https://github.com/actions/runner-images#available-images
Solution
No response
Alternatives
No response
Anything else?
No response
Are you willing to submit a PR?