Bump actions/deploy-pages from 4.0.3 to 4.0.4 #78
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: [main] | |
jobs: | |
check-package: | |
name: Check Package | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4.1.1 | |
- name: Setup Python | |
uses: actions/setup-python@v5.0.0 | |
with: | |
python-version: 3.11 | |
- name: Setup Poetry | |
uses: threeal/setup-poetry-action@v1.1.0 | |
- name: Cache Dependencies | |
id: cache-deps | |
uses: actions/cache@v4.0.0 | |
with: | |
path: .venv | |
key: poetry-${{ runner.os }}-${{ hashFiles('pyproject.toml') }} | |
- name: Install Dependencies | |
if: steps.cache-deps.outputs.cache-hit != 'true' | |
run: poetry install --with dev | |
- name: Check Format | |
run: | | |
poetry run poe format | |
git diff --exit-code HEAD | |
- name: Check Lint | |
run: poetry run poe lint | |
test-package: | |
name: Test Package | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4.1.1 | |
- name: Setup Python | |
uses: actions/setup-python@v5.0.0 | |
with: | |
python-version: 3.11 | |
- name: Setup Poetry | |
uses: threeal/setup-poetry-action@v1.1.0 | |
- name: Cache Dependencies | |
id: cache-deps | |
uses: actions/cache@v4.0.0 | |
with: | |
path: .venv | |
key: poetry-${{ runner.os }}-${{ hashFiles('pyproject.toml') }} | |
- name: Install Dependencies | |
if: steps.cache-deps.outputs.cache-hit != 'true' | |
run: poetry install --with dev | |
- name: Test Package | |
run: poetry run poe test |