Skip to content

Commit

Permalink
Update checkout and setup-python actions
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdwetering committed Feb 1, 2024
1 parent a9188b3 commit 6d547aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- if: startsWith(github.ref, 'refs/tags/v')
# Assume all tags starting with a v are version tags.
name: Check if versiontag matches setup.py
Expand All @@ -28,7 +28,7 @@ jobs:
echo Version $VERSION_NUMBER extracted from $GITHUB_REF_NAME
grep version=\"$VERSION_NUMBER\", setup.py
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
Expand Down

0 comments on commit 6d547aa

Please sign in to comment.