Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade actions/setup-python to V4 #7073

Merged
merged 1 commit into from Oct 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/setup-python/action.yml
Expand Up @@ -36,6 +36,6 @@ runs:
exit 1
fi
echo "version=$python_version" >> $GITHUB_OUTPUT
- uses: actions/setup-python@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ steps.get-python-version.outputs.version }}
8 changes: 2 additions & 6 deletions .github/workflows/autoformat.yml
Expand Up @@ -56,9 +56,7 @@ jobs:
ui_changed: ${{ steps.check-diff.outputs.ui_changed }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: '3.7'
- uses: ./.github/actions/setup-python
- run: |
pip install requests
- name: Check diff
Expand Down Expand Up @@ -118,9 +116,7 @@ jobs:
with:
repository: ${{ needs.check-comment.outputs.repository }}
ref: ${{ needs.check-comment.outputs.ref }}
- uses: actions/setup-python@v3
with:
python-version: '3.7'
- uses: ./.github/actions/setup-python
- name: Install dependencies
run: |
pip install -r requirements/lint-requirements.txt
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/cross-version-tests.yml
Expand Up @@ -49,9 +49,7 @@ jobs:
submodules: recursive
repository: ${{ github.event.inputs.repository }}
ref: ${{ github.event.inputs.ref }}
- uses: actions/setup-python@v3
with:
python-version: "3.7"
- uses: ./.github/actions/setup-python
- name: Install dependencies
run: |
pip install -r dev/requirements.txt
Expand Down