Configure linter for markdown Closes #60 #1
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 Pipeline with Vale | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
lint: | |
name: Lint Markdown with Vale | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v3 | |
- name: Build Docker image with Vale | |
run: | | |
docker build -t vale -f Dockerfile-vale . | |
- name: Run Vale linting | |
run: | | |
# Run the container. It will execute "vale ." as its CMD. | |
docker run --rm vale |