Skip to content

Bump mkdocs-git-revision-date-localized-plugin from 1.2.4 to 1.2.5 #1339

Bump mkdocs-git-revision-date-localized-plugin from 1.2.4 to 1.2.5

Bump mkdocs-git-revision-date-localized-plugin from 1.2.4 to 1.2.5 #1339

Workflow file for this run

name: test
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3', '3.8', '3.9', '3.10', '3.11']
fail-fast: false
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Unit tests
run: ./tests/run_unit_tests.sh
- name: Integration tests
run: ./tests/run_integration_tests.sh
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.x"
cache: 'pip'
- name: Lint
run: ./tests/run_linters.sh
check-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/cache@v4
with:
key: ${{ github.ref }}
path: .cache
- name: Build dev docs
id: mkdocs
uses: ./
with:
push: false
- name: Check output
run: |
tree
- name: Test html
uses: athackst/htmlproofer-action@main
with:
directory: "./site"
retries: 3
ignore_urls: |
https://twitter.com/althack
https://fonts.gstatic.com
swap_urls: |
^.*althack.dev\/mkdocs-simple-plugin:
^\/mkdocs-simple-plugin:
^\/latest:
- name: Check for diffs
run: git diff --exit-code
- name: Upload artifact
uses: actions/upload-artifact@main
with:
name: 'github-pages'
path: ${{ steps.mkdocs.outputs.artifact }}
retention-days: 1