Skip to content

Commit b26ca7f

Browse files
committed
GitHub Actions: use builtin python instead of setup-python
setup-python enable python located in /opt/hostedtoolcache, while apt install packages for python located in /usr/bin, so it's nonsense to use setup-python in the actions Signed-off-by: Yongan Lu <yongan.lu@intel.com>
1 parent 7f4d33d commit b26ca7f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/pull_request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
steps:
3535
# :-( https://github.community/t/support-for-yaml-anchors/16128
3636
- {uses: actions/checkout@v2, with: {fetch-depth: 0}}
37-
- uses: actions/setup-python@v2
37+
- run: python --version
3838

3939
# Package index is "out of date by design"
4040
# https://github.com/actions/virtual-environments/issues/1757

0 commit comments

Comments
 (0)