Skip to content

Commit

Permalink
Update checkout, setup-python, and codecov actions
Browse files Browse the repository at this point in the history
  • Loading branch information
SebMilardo committed May 23, 2024
1 parent 6b1012b commit eaea1bf
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
platform: windows

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive

Expand All @@ -36,7 +36,7 @@ jobs:
key: conan-${{ matrix.image }}-${{ hashFiles('conanfile.txt') }}

- name: Configure Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
if: matrix.platform == 'windows' && steps.cache-conan.outputs.cache-hit != 'true'
with:
python-version: '3.x'
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive

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

Expand All @@ -40,15 +40,15 @@ jobs:
run: make test

- name: "Upload python coverage"
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.codecov_token }}
files: 'coverage/coverage.xml'
flags: python
fail_ci_if_error: true

- name: "Upload binding coverage"
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.codecov_token }}
files: 'coverage/*.gcov'
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
name: sdist
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Build sdist
run: pipx run build --sdist
Expand All @@ -39,7 +39,7 @@ jobs:
platform: windows

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive

Expand All @@ -54,7 +54,7 @@ jobs:
key: conan-${{ matrix.image }}-${{ hashFiles('conanfile.txt') }}

- name: Configure Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
if: matrix.platform == 'windows' && steps.cache-conan.outputs.cache-hit != 'true'
with:
python-version: '3.x'
Expand Down Expand Up @@ -89,7 +89,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/setup-python@v2
- uses: actions/setup-python@v5

- uses: actions/download-artifact@v3
with:
Expand Down

0 comments on commit eaea1bf

Please sign in to comment.