Browse Source

update actions

pull/516/head
Simon Conseil 2 years ago
parent
commit
348b45ee76
  1. 4
      .github/workflows/publish.yml
  2. 6
      .github/workflows/python-tests.yml

4
.github/workflows/publish.yml

@ -13,10 +13,10 @@ jobs:
if: ((github.event_name == 'push' && startsWith(github.ref, 'refs/tags')) || contains(github.event.pull_request.labels.*.name, 'Build wheels'))
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v2
- uses: actions/setup-python@v5
with:
python-version: 3.8

6
.github/workflows/python-tests.yml

@ -19,11 +19,11 @@ jobs:
python-version: [3.9, "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install FFmpeg
@ -38,6 +38,6 @@ jobs:
- name: Convert coverage
run: python -m coverage xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true

Loading…
Cancel
Save