Skip to content

Commit

Permalink
chore: bump GitHub actions that use a deprecated NodeJS version (#766)
Browse files Browse the repository at this point in the history
  • Loading branch information
jnussbaum committed Jan 29, 2024
1 parent 1d9e5de commit 84e8ec0
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/actions/setup-from-wheel/action.yml
Expand Up @@ -5,7 +5,7 @@ runs:
using: "composite"
steps:
- name: Install python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Install poetry
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/setup/action.yml
Expand Up @@ -10,7 +10,7 @@ runs:
poetry self add poetry-exec-plugin
shell: bash
- name: Install Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.12
# attempt to restore dependencies from cache (if successful, the following `poetry install` will be a no-op)
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-dev-release-to-pypi.yml
Expand Up @@ -24,11 +24,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python 3.12
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Install dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-release-to-pypi.yml
Expand Up @@ -22,11 +22,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Set up Python 3.12
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Install dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sourcery.yml
Expand Up @@ -6,11 +6,11 @@ jobs:
review-with-sourcery:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: 3.12

Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/tests-on-push.yml
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout dsp-tools repo
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install poetry, python, and dependencies
uses: ./.github/actions/setup
- name: build docs
Expand All @@ -33,7 +33,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout dsp-tools repo
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install poetry, python, and dependencies
uses: ./.github/actions/setup
- name: Linting with ruff
Expand All @@ -50,7 +50,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout dsp-tools repo
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install poetry, python, and dependencies
uses: ./.github/actions/setup
- name: unittests
Expand All @@ -61,7 +61,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout dsp-tools repo
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install poetry, python, and dependencies
uses: ./.github/actions/setup
- name: benchmarking
Expand All @@ -72,7 +72,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout dsp-tools repo
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install poetry, python, and dependencies
uses: ./.github/actions/setup
- name: start stack
Expand All @@ -87,7 +87,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout dsp-tools repo
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install python & poetry, build & install wheel, install pytest
uses: ./.github/actions/setup-from-wheel
- name: distribution tests
Expand All @@ -98,18 +98,18 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout dsp-tools repo
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install poetry, python, and dependencies
uses: ./.github/actions/setup
- uses: FedericoCarboni/setup-ffmpeg@v2
- uses: FedericoCarboni/setup-ffmpeg@v3
- id: search-cached-imagemagick
# If a cache is found that matches "key", the cached files are restored to "path".
# If no cache is found, this step is skipped, and when all jobs are done, the files in "path" are cached under "key".
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/bin/magick # AppImage containing all binaries + dependencies
key: imagemagick # don't check for a new version, because version checking is fairly complex
- uses: mfinelli/setup-imagemagick@v2 # downloads the "magick" AppImage to ~/bin/magick
- uses: mfinelli/setup-imagemagick@v5 # downloads the "magick" AppImage to ~/bin/magick
if: ${{ steps.search-cached-imagemagick.outputs.cache-hit != 'true' }}
- name: start stack
run: poetry run dsp-tools start-stack --no-prune
Expand Down

0 comments on commit 84e8ec0

Please sign in to comment.