Skip to content

Commit

Permalink
ci: use the newer python setup step
Browse files Browse the repository at this point in the history
  • Loading branch information
autumnjolitz committed Jun 25, 2024
1 parent 8656cd8 commit c086369
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
uses: actions/checkout@v4
-
name: Set up Python 3
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.x'
architecture: 'x64'
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
uses: actions/checkout@v4
-
name: Set up Python 3
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.11'
architecture: 'x64'
Expand All @@ -75,7 +75,7 @@ jobs:
fetch-depth: 0
-
name: Set up Python 3.11
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.11'
architecture: 'x64'
Expand All @@ -93,7 +93,7 @@ jobs:
invoke update-changes
if ! git diff-index --quiet HEAD --
then
echo '::warn file=CHANGES.rst,line=1,title=CHANGES.rst out of sync!::Expected invoke update-changes to have zero changes, got instead $(git diff CHANGES.rst).
echo '::warn file=CHANGES.rst,line=1,title=CHANGES.rst out of sync::Expected invoke update-changes to have zero changes, got instead '"$(git diff CHANGES.rst)"'.
If you make a tag from this, it *will* error out.'
Expand All @@ -106,7 +106,7 @@ jobs:
invoke update-changes
if ! git diff-index --quiet HEAD --
then
echo '::error file=CHANGES.rst,line=1,title=CHANGES.rst out of sync!::Update the changelog.
echo '::error file=CHANGES.rst,line=1,title=CHANGES.rst out of sync::Update the changelog.
Suggest you fix that and delete the tag.'
exit 254
fi
Expand Down Expand Up @@ -146,7 +146,7 @@ jobs:
uses: actions/checkout@v4
-
name: Set up Python ${{ matrix.python_version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python_version }}
architecture: ${{ matrix.arch }}
Expand Down Expand Up @@ -175,7 +175,7 @@ jobs:
uses: actions/checkout@v4
-
name: Set up Python 3.11
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.11'
architecture: 'x64'
Expand Down

0 comments on commit c086369

Please sign in to comment.