fix indexing race condition where knowledge_base is updated by the em… #110
Workflow file for this run
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: Build | |
| on: | |
| push: | |
| branches: | |
| - '**' | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Install Docker Buildx | |
| uses: docker/setup-buildx-action@v2 | |
| - name: Checkout Repo | |
| uses: actions/checkout@v4 | |
| # Ruff linting steps | |
| - name: Run Ruff linter | |
| uses: astral-sh/ruff-action@v1 | |
| with: | |
| args: check ./app | |
| - name: Run Ruff formatter check | |
| uses: astral-sh/ruff-action@v1 | |
| with: | |
| args: "format --check" | |
| - name: Build Docker image | |
| working-directory: ./app | |
| run: | | |
| docker buildx build \ | |
| --platform linux/amd64 \ | |
| . |