Replace llama-cpp-python with OpenAI SDK client for llama.cpp server #199
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: Lint and format | |
| on: [pull_request] | |
| jobs: | |
| run-linters: | |
| name: Run linters | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| ref: ${{ github.event.pull_request.head.ref }} | |
| repository: ${{ github.event.pull_request.head.repo.full_name }} | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.12.10' | |
| - name: Changed files | |
| id: changed_files | |
| uses: jitterbit/get-changed-files@v1 | |
| - uses: pre-commit/action@v3.0.1 | |
| with: | |
| extra_args: --files ${{ steps.changed_files.outputs.all }} |