Refresh skill validation evidence #233
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: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: "3.12" | |
| - name: Install pre-commit hook | |
| run: | | |
| python -m pip install pre-commit | |
| pre-commit install | |
| - name: Run pre-commit checks | |
| run: SKIP=no-commit-to-branch pre-commit run --all-files --show-diff-on-failure | |
| - name: Run lychee docs checks (offline references) | |
| uses: lycheeverse/lychee-action@8646ba30535128ac92d33dfc9133794bfdd9b411 # v2 | |
| with: | |
| args: --config .github/linters/lychee.toml README.md "skills/**/*.md" | |
| - name: Run clang-format checks | |
| if: >- | |
| ${{ | |
| hashFiles('**/*.h', '**/*.c', '**/*.cpp', '**/*.hpp', '**/*.cu', '**/*.cuh', '**/*.cc') != '' | |
| }} | |
| uses: DoozyX/clang-format-lint-action@v0.20 | |
| with: | |
| source: . | |
| extensions: h,c,cpp,hpp,cu,cuh,cc | |
| clangFormatVersion: 20 | |
| style: file |