-
Notifications
You must be signed in to change notification settings - Fork 139
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: update actions to avoid node version warnings (#1178)
- Loading branch information
Showing
6 changed files
with
30 additions
and
33 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
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
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
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 |
---|---|---|
|
@@ -29,18 +29,18 @@ jobs: | |
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Run pre-commit | ||
id: pre-commit | ||
uses: pre-commit/[email protected].0 | ||
uses: pre-commit/[email protected].1 | ||
|
||
docs: | ||
# unlike the other workflows, we are using version 20.04 here as | ||
# readthedocs uses 20.04 for building our docs, and we want to be explicit | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Set up environment | ||
uses: ./.github/actions/setup-env | ||
|
@@ -60,7 +60,7 @@ jobs: | |
continue-on-error: ${{ matrix.experimental }} | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Set up environment | ||
id: setup-env | ||
|
@@ -83,29 +83,29 @@ jobs: | |
echo "PYRIGHT_VERSION=$PYRIGHT_VERSION" >> $GITHUB_ENV | ||
- name: Run pyright (Linux) | ||
uses: jakebailey/pyright-action@v1.4.1 | ||
uses: jakebailey/pyright-action@v2.2.1 | ||
id: pyright-linux | ||
with: | ||
version: ${{ env.PYRIGHT_VERSION }} | ||
python-version: ${{ steps.setup-env.outputs.python-version }} | ||
python-platform: "Linux" | ||
no-comments: ${{ matrix.python-version != '3.8' }} # only add comments for one version | ||
annotate: ${{ matrix.python-version == '3.8' }} # only add comments for one version | ||
warnings: true | ||
|
||
- name: Run pyright (Windows) | ||
uses: jakebailey/pyright-action@v1.4.1 | ||
uses: jakebailey/pyright-action@v2.2.1 | ||
if: always() && (steps.pyright-linux.outcome == 'success' || steps.pyright-linux.outcome == 'failure') | ||
with: | ||
version: ${{ env.PYRIGHT_VERSION }} | ||
python-version: ${{ steps.setup-env.outputs.python-version }} | ||
python-platform: "Windows" | ||
no-comments: true # only add comments for one platform (see above) | ||
annotate: false # only add comments for one platform (see above) | ||
warnings: true | ||
|
||
misc: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Set up environment | ||
id: setup | ||
|
@@ -160,7 +160,7 @@ jobs: | |
GITHUB_STEP_SUMMARY_FOOTER: "</pre></details>\n" | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Set up environment | ||
id: setup-env | ||
|
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
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