Skip to content

Commit

Permalink
chore: Update deprecated actions
Browse files Browse the repository at this point in the history
Due to warnings shown in https://github.com/neoave/mrack/actions/runs/9302766806
It updates actions to new version with Node 20

Signed-off-by: David Pascual <[email protected]>
  • Loading branch information
dav-pascual committed Jun 11, 2024
1 parent 47fc206 commit 236393c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"
- uses: pre-commit/[email protected]
18 changes: 9 additions & 9 deletions .github/workflows/test-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ jobs:
name: run pre-commit hook
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"
- uses: pre-commit/[email protected]
Expand All @@ -20,9 +20,9 @@ jobs:
steps:
- name: Install krb5-config libvirt-dev # missing distro dependencies
run: sudo apt update && sudo apt-get install libkrb5-dev libvirt-dev
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install Tox and any other packages
Expand All @@ -38,7 +38,7 @@ jobs:
outputs:
new_version: ${{ steps.set_version.outputs.new_version }}
steps:
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Display Python version
Expand All @@ -54,7 +54,7 @@ jobs:
run: |
RELEASE_ACTOR=RELEASE_ACTOR_$(echo ${GITHUB_ACTOR^^} | tr - _)
echo "RELEASE_ACTOR=${!RELEASE_ACTOR}" >> ${GITHUB_ENV}
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: false # do not set the actions user to git config
fetch-depth: 0
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
git fetch
git checkout $(git rev-parse FETCH_HEAD)
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install pypa/build
Expand All @@ -123,7 +123,7 @@ jobs:
- name: Build a binary wheel and a source tarball
run: python3 -m build
- name: Store the distribution packages
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: python-package-distributions
path: dist/
Expand All @@ -145,7 +145,7 @@ jobs:
id-token: write
steps:
- name: Download all the dists from artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: python-package-distributions
path: dist/
Expand Down

0 comments on commit 236393c

Please sign in to comment.