SDK Linter 249/merge by @liyaka #106
Workflow file for this run
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@v3 | |
- name: install pre-commit | |
run: pip install pre-commit | |
- name: linting | |
run: pre-commit run --all-files |