Update actions/setup-python action to v5.2.0 #470
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
name: Test check-manifest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Python 3.11 | |
uses: actions/[email protected] | |
with: | |
python-version: '3.11' | |
- uses: actions/[email protected] | |
id: pip-cache | |
with: | |
path: ~/.cache/pip | |
key: ${{ runner.os }}-pip- | |
restore-keys: | | |
${{ runner.os }}-pip- | |
- name: Run check-manifest | |
uses: ./ | |
with: | |
package-dir: 'test_package' | |
args: '-u' | |
- name: Create Pull Request | |
if: failure() | |
uses: peter-evans/[email protected] | |
with: | |
base: "main" | |
title: "Updated MANIFEST.in" | |
branch: "chore/update-manifest-in" | |
commit-message: "Updated MANIFEST.in" | |
body: "Updated MANIFEST.in" | |
token: ${{ secrets.PAT_TOKEN }} |