Skip to content

Commit

Permalink
CI nitpicking
Browse files Browse the repository at this point in the history
  • Loading branch information
volfpeter committed Feb 2, 2024
1 parent 85b8d89 commit d996ad0
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 20 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install python
uses: actions/setup-python@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
# Issue ref: https://github.com/actions/setup-python/issues/436
# cache: "pip"
cache-dependency-path: pyproject.toml
python-version-file: pyproject.toml

- uses: actions/cache@v2
with:
key: ${{ github.ref }}
path: .cache

- run: pip install mkdocs-material mkdocstrings[python]

- run: mkdocs gh-deploy --force
17 changes: 9 additions & 8 deletions .github/workflows/linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,21 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install python
uses: actions/setup-python@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
# Issue ref: https://github.com/actions/setup-python/issues/436
# cache: "pip"
cache-dependency-path: pyproject.toml
python-version-file: pyproject.toml

- name: Install poetry
run: python3 -m pip install poetry
run: pip install poetry

- name: Install dependencies
run: |
poetry install
run: poetry install

- name: Run static checks
run: |
poetry run poe static-checks
run: poetry run poe static-checks
11 changes: 7 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,18 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install python
uses: actions/setup-python@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
# Issue ref: https://github.com/actions/setup-python/issues/436
# cache: "pip"
cache-dependency-path: pyproject.toml
python-version-file: pyproject.toml

- name: Install poetry
run: python3 -m pip install poetry
run: pip install poetry

- name: Install dependencies
run: poetry install
Expand Down

0 comments on commit d996ad0

Please sign in to comment.