Skip to content
This repository has been archived by the owner on Sep 23, 2024. It is now read-only.

Merge pull request #12 from articulate/docs/deprecate #20

Merge pull request #12 from articulate/docs/deprecate

Merge pull request #12 from articulate/docs/deprecate #20

Workflow file for this run

name: Main
on:
push:
branches:
- main
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: shellcheck entrypoint.sh
- uses: ./
with:
ignore: test
test-fail:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- id: lint
continue-on-error: true
uses: ./
with:
files: test/fail.md
annotations: false
- run: test "${{ steps.lint.outcome }}" == "failure"
test-config:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./
with:
files: test/fail.md
config: test/.markdownlint.json
test-fix:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./
with:
files: test/fix.md
fix: true
- run: test "$(md5sum test/fix.md)" == "d38a4c066f4c6e80a0409e23f68226bf test/fix.md"