Skip to content

Commit

Permalink
Enable GH action check for build.pl warnings
Browse files Browse the repository at this point in the history
closes #66
  • Loading branch information
garazdawi committed Oct 29, 2024
1 parent d8a45bb commit b02876a
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,20 @@ jobs:
name: markdownlint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: DavidAnson/markdownlint-cli2-action@v14
- uses: actions/checkout@v4
- uses: DavidAnson/markdownlint-cli2-action@v17
with:
config: 'eep.markdownlint.json'
globs: |
README.md
eeps/*.md
- name: Build html using Gruber MD
run: |
./build.pl
## Check for warnings by build.pl
if grep '<h2>Warnings</h2>' > /dev/null; then
exit 1
fi
- name: Deploy on erlang.org
if: github.ref == 'refs/heads/master'
env:
Expand Down

0 comments on commit b02876a

Please sign in to comment.