init: upgrade to v12 #558
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: CI | |
on: | |
push: | |
branches: | |
- master | |
- dev | |
pull_request: | |
branches: | |
- master | |
- dev | |
schedule: | |
# * is a special character in YAML so you have to quote this string | |
- cron: "0 3 * * 6" | |
workflow_dispatch: | |
inputs: | |
reason: | |
description: "Reason" | |
required: false | |
default: "Manual trigger" | |
jobs: | |
Tests: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Python 3.12 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.12 | |
- name: Install dependencies | |
run: | | |
pip install -r requirements.txt | |
pip freeze | |
- name: Build | |
run: mkdocs build --clean --strict -v | |
- name: Check links | |
uses: untitaker/hyperlink@0.1.32 | |
with: | |
args: site/ --sources docs/ |