Upgrade actions/setup-python from v1 to v2 (#54202)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/54202
Test Plan: The lint and clang-format workflows in CI.
Reviewed By: janeyx99
Differential Revision: D27134223
Pulled By: samestep
fbshipit-source-id: 7f38240696e31f1a479e93f6b326b9d13e3ddf9c