⬆️ Bump python-multipart from 0.0.9 to 0.0.18 in /requirements #618
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: Docker build | |
on: | |
pull_request: | |
branches: [main] | |
push: | |
branches: [main] | |
workflow_dispatch: | |
concurrency: | |
cancel-in-progress: true | |
group: | | |
${{ github.workflow }}-${{ github.event.pull_request.id || github.branch }} | |
jobs: | |
changes: | |
name: Change detection | |
runs-on: ubuntu-latest | |
outputs: | |
src: ${{ steps.changes.outputs.src }} | |
steps: | |
- name: Check out | |
uses: actions/checkout@v4 | |
- name: Detect changed files | |
id: changes | |
uses: dorny/paths-filter@v3 | |
with: | |
filters: | | |
src: | |
- "docker/**" | |
- pyproject.toml | |
- "requirements/**" | |
- "xthulu/**" | |
validate: | |
name: Validate | |
needs: changes | |
if: needs.changes.outputs.src == 'true' || github.ref == 'refs/heads/main' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out | |
uses: actions/checkout@v4 | |
- name: Validate docker compose configuration | |
run: docker compose -f docker/docker-compose.yml config | |
build: | |
name: Build | |
needs: changes | |
if: needs.changes.outputs.src == 'true' || github.ref == 'refs/heads/main' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out | |
uses: actions/checkout@v4 | |
- name: Build docker image | |
run: docker build -t xthulu -f docker/Dockerfile . |