-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
281f845
commit 3623a75
Showing
2 changed files
with
14 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,10 +23,10 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].7 | ||
|
||
- name: Install python 3.9 | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].1 | ||
with: | ||
python-version: 3.9 | ||
architecture: x64 | ||
|
@@ -57,10 +57,10 @@ jobs: | |
runs-on: ${{ matrix.os }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].7 | ||
|
||
- name: Install python ${{ matrix.nox_session.python }} for tests | ||
uses: MatteoH2O1999/setup-python@v3.2.0 # actions/[email protected].0 | ||
uses: MatteoH2O1999/setup-python@v4.0.1 # actions/[email protected].1 | ||
id: set-py | ||
with: | ||
python-version: ${{ matrix.nox_session.python }} | ||
|
@@ -69,7 +69,7 @@ jobs: | |
cache-build: true | ||
|
||
- name: Install python 3.12 for nox | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].1 | ||
with: | ||
python-version: 3.12 | ||
architecture: x64 | ||
|
@@ -88,7 +88,7 @@ jobs: | |
# Share ./docs/reports so that they can be deployed with doc in next job | ||
- name: Share reports with other jobs | ||
# if: matrix.nox_session == '...': not needed, if empty won't be shared | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].4 | ||
with: | ||
name: reports_dir | ||
path: ./docs/reports | ||
|
@@ -98,10 +98,10 @@ jobs: | |
if: github.event_name == 'pull_request' | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].7 | ||
|
||
- name: Install python 3.9 for nox | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].1 | ||
with: | ||
python-version: 3.9 | ||
architecture: x64 | ||
|
@@ -123,19 +123,19 @@ jobs: | |
run: echo "$GITHUB_CONTEXT" | ||
|
||
- name: Checkout with no depth | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].7 | ||
with: | ||
fetch-depth: 0 # so that gh-deploy works | ||
|
||
- name: Install python 3.9 for nox | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].1 | ||
with: | ||
python-version: 3.9 | ||
architecture: x64 | ||
|
||
# 1) retrieve the reports generated previously | ||
- name: Retrieve reports | ||
uses: actions/[email protected].4 | ||
uses: actions/[email protected].8 | ||
with: | ||
name: reports_dir | ||
path: ./docs/reports | ||
|
@@ -167,7 +167,7 @@ jobs: | |
EOF | ||
- name: \[not on TAG\] Publish coverage report | ||
if: github.event_name == 'push' && startsWith(github.ref, 'refs/heads') | ||
uses: codecov/codecov-action@v4.1.1 | ||
uses: codecov/codecov-action@v4.5.0 | ||
with: | ||
files: ./docs/reports/coverage/coverage.xml | ||
|
||
|
@@ -181,7 +181,7 @@ jobs: | |
# 8) Publish the wheel on PyPi | ||
- name: \[TAG only\] Deploy on PyPi | ||
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') | ||
uses: pypa/gh-action-pypi-publish@v1.8.14 | ||
uses: pypa/gh-action-pypi-publish@v1.9.0 | ||
with: | ||
user: __token__ | ||
password: ${{ secrets.PYPI_API_TOKEN }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/[email protected].1 | ||
- uses: actions/[email protected].7 | ||
with: | ||
# [Required] Access token with `workflow` scope. | ||
token: ${{ secrets.WORKFLOW_SECRET }} | ||
|