Pin macos
test runners to macos-12
#10031
Merged
macos
test runners to macos-12
#10031