ci: Bump lycheverse action version #357
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: Lint generated HTML | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
lint: | |
name: Lint generated HTML | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: HTML Link Check | |
uses: lycheeverse/[email protected] | |
id: lychee_html | |
with: | |
args: --verbose --no-progress "/github/workspace/test_output/**/*.html" | |
env: | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
- name: Fail on HTML Link Check Errors | |
run: exit ${{ steps.lychee_html.outputs.exit_code }} |