This repository was archived by the owner on May 27, 2025. It is now read-only.
Handle previously failed indexing jobs #137
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: Dev Build | |
| on: | |
| workflow_dispatch: # triggered manually via the GitHub UI | |
| pull_request: # triggered when a PR is created or updated | |
| types: | |
| - opened | |
| - reopened | |
| - synchronize | |
| - ready_for_review | |
| paths: # only trigger on changes in specific directories | |
| - '.github/**/*.yaml' | |
| - 'backend/**' | |
| - 'docker/**' | |
| - 'infra/**' | |
| - 'poetry.lock' | |
| - 'pyproject.toml' | |
| jobs: | |
| lint-check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.10' | |
| - run: pip install ruff | |
| - run: | | |
| ruff check | |
| build-devcontainer: | |
| needs: [lint-check] | |
| runs-on: ubuntu-latest | |
| if: ${{ !github.event.pull_request.draft }} | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Build docker image | |
| uses: docker/build-push-action@v2 | |
| with: | |
| context: .devcontainer | |
| push: false | |
| build-backend: | |
| needs: [lint-check] | |
| runs-on: ubuntu-latest | |
| if: ${{ !github.event.pull_request.draft }} | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Build docker image | |
| uses: docker/build-push-action@v2 | |
| with: | |
| context: . | |
| file: docker/Dockerfile-backend | |
| push: false | |
| build-frontend: | |
| needs: [lint-check] | |
| runs-on: ubuntu-latest | |
| if: ${{ !github.event.pull_request.draft }} | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Build docker image | |
| uses: docker/build-push-action@v2 | |
| with: | |
| context: . | |
| file: docker/Dockerfile-frontend | |
| push: false |