Add Gitea Actions workflow for Markdown linting and CI scaffold
Some checks failed
CI / markdown-lint (push) Failing after 37s
Some checks failed
CI / markdown-lint (push) Failing after 37s
This commit is contained in:
31
.gitea/workflows/ci.yml
Normal file
31
.gitea/workflows/ci.yml
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
name: CI
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ master ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ master ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
markdown-lint:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
- name: Set up Node.js
|
||||||
|
uses: actions/setup-node@v3
|
||||||
|
with:
|
||||||
|
node-version: '18'
|
||||||
|
- name: Install markdownlint-cli
|
||||||
|
run: npm install -g markdownlint-cli
|
||||||
|
- name: Lint Markdown files
|
||||||
|
run: markdownlint '**/*.md'
|
||||||
|
|
||||||
|
# Scaffold for future build/test jobs
|
||||||
|
# build:
|
||||||
|
# runs-on: ubuntu-latest
|
||||||
|
# steps:
|
||||||
|
# - name: Checkout code
|
||||||
|
# uses: actions/checkout@v3
|
||||||
|
# - name: Build (placeholder)
|
||||||
|
# run: echo "Build step goes here"
|
||||||
Reference in New Issue
Block a user