Skip to content

Commit

Permalink
Merge pull request #180 from aragilar/fix-sphinx
Browse files Browse the repository at this point in the history
Fix versions of github actions used
  • Loading branch information
aragilar authored Jul 13, 2024
2 parents 5234ad9 + 6ea8d35 commit 01f8c2f
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 21 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,11 @@ jobs:
permissions:
id-token: write
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-tags: true

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

Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/test-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,12 @@ jobs:
# tox-env: checkreadme

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-tags: true

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -41,7 +43,7 @@ jobs:
echo "::set-output name=dir::$(pip cache dir)"
- name: pip cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ${{ steps.pip-cache.outputs.dir }}
key: ${{ runner.os }}-pip-1
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/test-daepack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,12 @@ jobs:
tox-env: py312

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-tags: true

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -40,7 +42,7 @@ jobs:
echo "::set-output name=dir::$(pip cache dir)"
- name: pip cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ${{ steps.pip-cache.outputs.dir }}
key: ${{ runner.os }}-pip-1
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/test-namespace.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,16 +67,18 @@ jobs:
sundials-index-size: 64

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-tags: true
- 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 build dependencies
run: sudo apt-get install gfortran liblapack-dev

- name: Sundials cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/sundials
key: ${{ runner.os }}-sundials-${{ matrix.sundials-version }}
Expand All @@ -98,7 +100,7 @@ jobs:
echo "::set-output name=dir::$(pip cache dir)"
- name: pip cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ${{ steps.pip-cache.outputs.dir }}
key: ${{ runner.os }}-pip-1
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/test-overall.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,16 +72,18 @@ jobs:
# sundials-index-size: 64

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-tags: true
- 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 build dependencies
run: sudo apt-get install gfortran liblapack-dev

- name: Sundials cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/sundials
key: ${{ runner.os }}-sundials-${{ matrix.sundials-version }}
Expand All @@ -103,7 +105,7 @@ jobs:
echo "::set-output name=dir::$(pip cache dir)"
- name: pip cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ${{ steps.pip-cache.outputs.dir }}
key: ${{ runner.os }}-pip-1
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/test-sundials.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,16 +67,18 @@ jobs:
sundials-index-size: 64

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-tags: true
- 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 build dependencies
run: sudo apt-get install gfortran liblapack-dev

- name: Sundials cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/sundials
key: ${{ runner.os }}-sundials-${{ matrix.sundials-version }}
Expand All @@ -98,7 +100,7 @@ jobs:
echo "::set-output name=dir::$(pip cache dir)"
- name: pip cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ${{ steps.pip-cache.outputs.dir }}
key: ${{ runner.os }}-pip-1
Expand Down
2 changes: 1 addition & 1 deletion apidocs/upload_api_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if [ "true" = "$UPLOAD_SCIKITS_ODES_API_DOCS" ]; then
git clone --branch gh-pages https://github.com/bmcage/odes gh-pages
# Run rsync
branch_name="$GITHUB_REF_NAME"
rsync -av --delete "$API_DOCS_OUT_DIR" "./gh-pages/$branch_name/"
rsync -av --delete "$API_DOCS_OUT_DIR"/* "./gh-pages/$branch_name/"
# Run docs-versions-menu
cd gh-pages
docs-versions-menu
Expand Down

0 comments on commit 01f8c2f

Please sign in to comment.