Skip to content

Commit

Permalink
ci: update actions (#210)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbelak-dtml committed Mar 2, 2024
1 parent c6cda46 commit e8c6917
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
outputs:
new_version: ${{ steps.set-vars.outputs.new_version }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install poetry
Expand Down Expand Up @@ -87,13 +87,13 @@ jobs:
runs-on: ubuntu-22.04
needs: publish-python
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.11
- name: Install poetry
run: curl -sSL https://install.python-poetry.org | python3 - --version ${{ env.POETRY_VERSION }}
- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: .venv/
key: ${{ runner.os }}-python-3.11-poetry-${{ hashFiles('pyproject.toml') }}
Expand All @@ -108,7 +108,7 @@ jobs:
poetry run sphinx-apidoc -o docs/source/ edvart
poetry run make -C docs html
- name: Upload HTML
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: html
path: docs/build/html
Expand All @@ -126,15 +126,15 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Setup Pages
uses: actions/configure-pages@v3
- uses: actions/download-artifact@v3
uses: actions/configure-pages@v4
- uses: actions/download-artifact@v4
with:
name: html
path: docs/build/html
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
uses: actions/upload-pages-artifact@v3
with:
path: docs/build/html
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v4
8 changes: 4 additions & 4 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ jobs:
# Specified only minor version: the latest patch is used
python-version: ['3.11', '3.10', '3.9', '3.8']
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install poetry
run: curl -sSL https://install.python-poetry.org | python3 - --version ${{ env.POETRY_VERSION }}
- id: cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: .venv/
key: ${{ runner.os }}-python-${{ matrix.python-version }}-poetry-${{ hashFiles('pyproject.toml') }}
Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:
commit-check:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0 # actions/checkout checks out HEAD only by default
- name: Get convco
Expand Down

0 comments on commit e8c6917

Please sign in to comment.