SDK Linter 636/merge by @aadereiko #304
This file contains 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: SDK Linter | |
run-name: "SDK Linter ${{ github.ref_name }} by @${{ github.actor }}" | |
on: | |
pull_request: | |
paths: | |
- 'sdks/python/**' | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: sdks/python | |
steps: | |
- uses: actions/checkout@v4 | |
- name: install pre-commit | |
run: pip install pre-commit | |
- name: linting | |
run: pre-commit run --all-files |