Skip to content

Commit

Permalink
Add docs workflow, bump actions versions
Browse files Browse the repository at this point in the history
  • Loading branch information
ThirVondukr committed Feb 16, 2024
1 parent 16ad9fa commit ce6db6b
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 6 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/deploy-docs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Lint
on: [push]
jobs:
lint:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.11
- name: Cache PIP
uses: actions/cache@v4
with:
path: |
~/.cache/pip
.venv
key: pip-${{ matrix.python-version }}-${{ hashFiles('pdm.lock') }}
- name: Install PDM
run: |
pip install pdm
pdm sync --clean
- run: mkdocs gh-deploy --force
6 changes: 3 additions & 3 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ jobs:
- ruff check .

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Cache PIP
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.cache/pip
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ jobs:
- 3.12

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Cache PIP
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.cache/pip
Expand Down

0 comments on commit ce6db6b

Please sign in to comment.