feat: add CAMEL abstraction for future support of new API style #10205
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: Pre Commit Check | |
| on: | |
| push: | |
| branches: [ "master", "qa" ] | |
| pull_request: | |
| branches: [ "master", "qa" ] | |
| jobs: | |
| pre-commit: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up Python environment and install dependencies | |
| uses: ./.github/actions/camel_install | |
| with: | |
| python-version: "3.10" | |
| - name: Run pre-commit | |
| run: | | |
| source .venv/bin/activate | |
| pre-commit run --all-files | |
| shell: bash |