22 lines
665 B
YAML
22 lines
665 B
YAML
# Forgejo and Gitea Actions both read .github/workflows when their own folder is absent.
|
|
name: check
|
|
on: [push, pull_request]
|
|
jobs:
|
|
check:
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest, macos-latest]
|
|
runs-on: ${{ matrix.os }}
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-python@v5
|
|
with:
|
|
python-version: "3.12"
|
|
- name: Second schema validator
|
|
run: python3 -m pip install jsonschema referencing
|
|
- name: Check the repository
|
|
run: python3 tools/check.py
|
|
- name: Lint Markdown
|
|
if: matrix.os == 'ubuntu-latest'
|
|
run: npx --yes markdownlint-cli@0.48.0 '**/*.md'
|