DOCA 3.2 GPUNetIO on CI #13214
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: Run Pre-Commit Hooks | |
| on: [push, pull_request] | |
| jobs: | |
| pre-commit: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 2 | |
| - name: Get modified files | |
| id: modified-files | |
| run: echo "modified_files=$(git diff --name-only -r HEAD^1 HEAD | xargs)" >> $GITHUB_OUTPUT | |
| - uses: actions/setup-python@v3 | |
| - uses: pre-commit/[email protected] | |
| with: | |
| extra_args: --files ${{ steps.modified-files.outputs.modified_files }} |