ENH: Add link checker GHA workflow file #774
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 | |
| on: [push,pull_request] | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| # Full git history is needed to get a proper | |
| # list of changed files within `super-linter` | |
| fetch-depth: 0 | |
| - name: Lint C++ | |
| uses: InsightSoftwareConsortium/ITKClangFormatLinterAction@master | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: 3.11 | |
| - name: Lint Python | |
| uses: super-linter/[email protected] | |
| env: | |
| VALIDATE_ALL_CODEBASE: false | |
| VALIDATE_PYTHON_BLACK: true | |
| # VALIDATE_YAML: true .clang-format file does not pass validation | |
| FILTER_REGEX_EXCLUDE: (.github/labeler.yml|.*\.clang-format) | |
| DEFAULT_BRANCH: master | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |