Skip to content

Commit

Permalink
ci: add build workflow for pull requests
Browse files Browse the repository at this point in the history
  • Loading branch information
Pesa committed Jun 11, 2024
1 parent 9d88a98 commit 4cf2786
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Build
on:
pull_request:
paths-ignore:
- 'README.md'
workflow_dispatch:

permissions: {}

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
id: py
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Install poetry
run: pipx install --python '${{ steps.py.outputs.python-path }}' poetry
- name: Install dependencies
run: poetry install --no-interaction
- name: Build website
run: poetry run mkdocs --color build --strict

0 comments on commit 4cf2786

Please sign in to comment.