-
Notifications
You must be signed in to change notification settings - Fork 69
32 lines (26 loc) · 836 Bytes
/
lint.yml
File metadata and controls
32 lines (26 loc) · 836 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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@main
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.11
- name: Lint Python
uses: super-linter/super-linter@v7.2.1
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: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}