-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GHA: update actions to use Node.js 20 (#2278)
* GHA: update actions to use Node.js 20 Fixes this warnings: > Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-python@v4, actions/checkout@v3, actions/upload-artifact@v3 Closes #2277 * unique artifact names * [email protected]
- Loading branch information
Showing
15 changed files
with
57 additions
and
57 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
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
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 |
---|---|---|
|
@@ -26,11 +26,11 @@ jobs: | |
|
||
steps: | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v4 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 20 | ||
|
||
|
@@ -86,7 +86,7 @@ jobs: | |
- name: Codecov | ||
if: github.event_name == 'pull_request' || github.repository_owner == 'AMICI-dev' | ||
uses: codecov/[email protected].0 | ||
uses: codecov/[email protected].4 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
file: coverage.xml | ||
|
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 |
---|---|---|
|
@@ -19,11 +19,11 @@ jobs: | |
|
||
steps: | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v4 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- run: git fetch --prune --unshallow | ||
|
||
- run: echo "AMICI_DIR=$(pwd)" >> $GITHUB_ENV | ||
|
@@ -67,7 +67,7 @@ jobs: | |
- name: Codecov Python | ||
if: github.event_name == 'pull_request' || github.repository_owner == 'AMICI-dev' | ||
uses: codecov/[email protected].0 | ||
uses: codecov/[email protected].4 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
file: build/coverage_py.xml | ||
|
@@ -87,7 +87,7 @@ jobs: | |
- name: Codecov CPP | ||
if: github.event_name == 'pull_request' || github.repository_owner == 'AMICI-dev' | ||
uses: codecov/[email protected].0 | ||
uses: codecov/[email protected].4 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
file: coverage.info | ||
|
@@ -114,11 +114,11 @@ jobs: | |
|
||
steps: | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v4 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- run: git fetch --prune --unshallow | ||
|
||
- run: echo "AMICI_DIR=$(pwd)" >> $GITHUB_ENV | ||
|
@@ -142,7 +142,7 @@ jobs: | |
- name: Codecov Python | ||
if: github.event_name == 'pull_request' || github.repository_owner == 'AMICI-dev' | ||
uses: codecov/[email protected].0 | ||
uses: codecov/[email protected].4 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
file: build/coverage_py.xml | ||
|
@@ -162,7 +162,7 @@ jobs: | |
- name: Codecov CPP | ||
if: github.event_name == 'pull_request' || github.repository_owner == 'AMICI-dev' | ||
uses: codecov/[email protected].0 | ||
uses: codecov/[email protected].4 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
file: coverage.info | ||
|
@@ -190,11 +190,11 @@ jobs: | |
|
||
steps: | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v4 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- run: git fetch --prune --unshallow | ||
|
||
- run: echo "AMICI_DIR=$(pwd)" >> $GITHUB_ENV | ||
|
@@ -224,11 +224,11 @@ jobs: | |
|
||
steps: | ||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: 3.9 | ||
|
||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- run: git fetch --prune --unshallow | ||
|
||
- name: Install dependencies | ||
|
@@ -266,11 +266,11 @@ jobs: | |
|
||
steps: | ||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: 3.9 | ||
|
||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- run: git fetch --prune --unshallow | ||
|
||
- name: Install dependencies | ||
|
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 |
---|---|---|
|
@@ -33,11 +33,11 @@ jobs: | |
|
||
steps: | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v4 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 1 | ||
|
||
|
@@ -48,14 +48,14 @@ jobs: | |
- run: AMICI_PARALLEL_COMPILE="" ./scripts/run-SBMLTestsuite.sh ${{ matrix.cases }} | ||
|
||
- name: "Upload artifact: SBML semantic test suite results" | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: amici-semantic-results | ||
name: amici-semantic-results-${{ matrix.cases }} | ||
path: tests/amici-semantic-results | ||
|
||
- name: Codecov SBMLSuite | ||
if: github.event_name == 'pull_request' || github.repository_owner == 'AMICI-dev' | ||
uses: codecov/[email protected].0 | ||
uses: codecov/[email protected].4 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
file: coverage_SBMLSuite.xml | ||
|
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
Oops, something went wrong.