27 lines
594 B
YAML
27 lines
594 B
YAML
name: ci
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
|
|
jobs:
|
|
markdown:
|
|
runs-on: docker
|
|
container:
|
|
image: alpine:latest
|
|
steps:
|
|
- name: Checkout code
|
|
run: |
|
|
apk add --no-cache git
|
|
git init
|
|
git remote add origin https://forgejo.riotpiao.com/rock/poimen-memory.git
|
|
git fetch origin ${{ github.ref_name }} --depth=1
|
|
git checkout FETCH_HEAD
|
|
|
|
- name: Check markdown files exist
|
|
run: |
|
|
test -f DESIGN.md
|
|
test -f README.md
|
|
echo "✓ Documentation structure valid"
|