SDK Linter 1008/merge by @alexkuzmik #665
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/**' | |
push: | |
branches: | |
- 'main' | |
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 |