feat: support script mode in setup.cfg #365
Workflow file for this run
This file contains hidden or 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 README | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| jobs: | |
| lint_readme: | |
| name: Lint README | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: README.md Link Check | |
| uses: lycheeverse/lychee-action@v1.9.3 | |
| id: lychee_readme_md | |
| with: | |
| args: --verbose --no-progress "/github/workspace/README.md" | |
| env: | |
| GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
| - name: Fail on README.md Link Check Errors | |
| run: exit ${{ steps.lychee_readme_md.outputs.exit_code }} |