Skip to content

Commit

Permalink
Merge pull request #2 from alexandrainst/update-actions
Browse files Browse the repository at this point in the history
Update GitHub Actions
  • Loading branch information
saattrupdan authored Apr 30, 2024
2 parents 645bedc + 48d3cf2 commit ab2dd5c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: jpetrucciani/black-check@master

pytest:
Expand All @@ -20,14 +20,13 @@ jobs:
python-version: ["3.11"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install Poetry
run: pip3 install poetry==1.5.1

run: pipx install poetry==1.8.2

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: "poetry"
Expand All @@ -38,4 +37,4 @@ jobs:
poetry install --no-interaction --no-cache
- name: Test with pytest
run: poetry run pytest --dist no -n 0
run: poetry run pytest
10 changes: 5 additions & 5 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install Poetry
run: pip3 install poetry==1.5.1
run: pipx install poetry==1.8.2

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.11"
cache: "poetry"
Expand All @@ -38,7 +38,7 @@ jobs:
run: tar --directory docs/ -hcf artifact.tar .

- name: Upload documentation
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: github-pages
path: ./artifact.tar
Expand All @@ -56,4 +56,4 @@ jobs:
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: deployment
uses: actions/deploy-pages@v1
uses: actions/deploy-pages@v4

0 comments on commit ab2dd5c

Please sign in to comment.