Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,49 +16,49 @@ jobs:
python-version: [ '3.12' ]

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

issue (bug_risk): Using actions/checkout@v7 may fail since this major version does not exist yet.

The latest published major for actions/checkout is v4, so @v7 will currently resolve to nothing and the workflow will fail with an Unable to resolve action error. Unless you’re targeting a different action, please use @v4 or another existing tag to keep the pipeline working.

with:
# Ensure a dynamic version is assigned
fetch-tags: true
fetch-depth: 20

- name: Cache air
uses: actions/cache@v4
uses: actions/cache@v6

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

issue (bug_risk): actions/cache@v6 is not a currently published major and will break the workflow.

actions/cache is only released up to v4. Using @v6 will fail to resolve the action and break this step. If you want the latest stable, stick with @v4 or choose a specific known tag.

with:
path: ~/audb/air/1.4.2
key: air-1.4.2

- name: Cache cough-speech-sneeze
uses: actions/cache@v4
uses: actions/cache@v6
with:
path: ~/audb/cough-speech-sneeze/2.0.1
key: cough-speech-sneeze-2.0.1

- name: Cache emodb
uses: actions/cache@v4
uses: actions/cache@v6
with:
path: ~/audb/emodb/1.4.1
key: emodb-1.4.1

- name: Cache micirp
uses: actions/cache@v4
uses: actions/cache@v6
with:
path: ~/audb/micirp/1.0.0
key: micirp-1.0.0

- name: Cache musan
uses: actions/cache@v4
uses: actions/cache@v6
with:
path: ~/audb/musan/1.0.0
key: musan-1.0.0

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
uses: actions/setup-python@v7

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

issue (bug_risk): actions/setup-python@v7 is not available and will prevent jobs from starting.

The latest published major version is actions/setup-python@v5. Using @v7 will fail because that version does not exist. Please use @v5 or another valid released tag so the workflow continues to run.

with:
python-version: ${{ matrix.python-version }}

- name: Install uv
uses: astral-sh/setup-uv@v5
uses: astral-sh/setup-uv@v9.0.0

- name: Ubuntu - install libsndfile
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- name: Set up Python 3.12
uses: actions/setup-python@v5
uses: actions/setup-python@v7
with:
python-version: '3.12'

- name: Install uv
uses: astral-sh/setup-uv@v5
uses: astral-sh/setup-uv@v9.0.0

- name: Install pre-commit hooks
run: uvx pre-commit install --install-hooks
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,47 +16,47 @@ jobs:
group: ${{ github.workflow }}-${{ github.ref }}

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
with:
fetch-depth: 2

- name: Cache air
uses: actions/cache@v4
uses: actions/cache@v6
with:
path: ~/audb/air/1.4.2
key: air-1.4.2

- name: Cache cough-speech-sneeze
uses: actions/cache@v4
uses: actions/cache@v6
with:
path: ~/audb/cough-speech-sneeze/2.0.1
key: cough-speech-sneeze-2.0.1

- name: Cache emodb
uses: actions/cache@v4
uses: actions/cache@v6
with:
path: ~/audb/emodb/1.4.1
key: emodb-1.4.1

- name: Cache micirp
uses: actions/cache@v4
uses: actions/cache@v6
with:
path: ~/audb/micirp/1.0.0
key: micirp-1.0.0

- name: Cache musan
uses: actions/cache@v4
uses: actions/cache@v6
with:
path: ~/audb/musan/1.0.0
key: musan-1.0.0

- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@v7
with:
python-version: '3.12'

- name: Install uv
uses: astral-sh/setup-uv@v5
uses: astral-sh/setup-uv@v9.0.0

# PyPI package
- name: Build Python package
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ jobs:
tasks: tests

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- name: Cache emodb
uses: actions/cache@v4
uses: actions/cache@v6
with:
path: ~/audb/emodb/1.4.1
key: emodb-1.4.1
Expand Down Expand Up @@ -85,8 +85,8 @@ jobs:
run: uv run --active pytest

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@v7
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml
files: ./coverage.xml
if: matrix.os == 'ubuntu-24.04'
Loading