chore(deps): refresh pip-compile outputs #2991
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: ci | |
on: | |
pull_request: | |
branches: | |
- master | |
push: | |
branches: | |
- master | |
release: | |
types: | |
# If you want a workflow to run when stable and pre-releases publish, subscribe to published instead of released and prereleased. | |
# <https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#release> | |
- published | |
permissions: read-all | |
jobs: | |
build: | |
permissions: | |
actions: read | |
contents: read | |
# for creating OIDC tokens for signing. | |
id-token: write | |
packages: write # for uploading container images, signatures, and attestations. | |
strategy: | |
matrix: | |
include: | |
- module: "query" | |
context: "src/" | |
- module: "notify" | |
context: "src/" | |
- module: "list" | |
context: "src/list/" | |
uses: ./.github/workflows/build.yaml | |
with: | |
module-name: ${{ matrix.module }} | |
context: ${{ matrix.context }} | |
test: | |
runs-on: ubuntu-24.04 | |
needs: | |
- build | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- module: "query" | |
e2e-test-directory: "tests/e2e/" | |
- module: "notify" | |
e2e-test-directory: "tests/e2e/" | |
# - module: "list" | |
# e2e-test-directory: "frontend/tests/e2e/" | |
env: | |
IMAGE_NAME: ghcr.io/${{ github.repository }}/${{ matrix.module }} | |
steps: | |
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | |
- uses: ./.github/actions/test-image | |
with: | |
project-name: ${{ matrix.module }} | |
image-name: ${{ env.IMAGE_NAME }} | |
image-tag: ${{ needs.build.outputs.image-tag }} | |
e2e-test-directory: ${{ matrix.e2e-test-directory }} | |
k8s-test: | |
needs: | |
- build | |
- test | |
uses: ./.github/workflows/test-k8s-installation.yaml | |
with: | |
image-tag: ${{ needs.build.outputs.image-tag }} | |
docker-compose-test: | |
needs: | |
- build | |
- test | |
uses: ./.github/workflows/test-compose-installation.yaml | |
with: | |
image-tag: ${{ needs.build.outputs.image-tag }} | |
release: | |
# the docker compose image tags only change on releases, so | |
# it's sufficient to just run tests then. | |
if: ${{ startsWith(github.ref, 'refs/tags/') }} | |
permissions: | |
actions: read | |
contents: write # for release notes | |
# for creating OIDC tokens for signing. | |
id-token: write | |
packages: write # for uploading container images, signatures, and attestations. | |
needs: | |
- k8s-test | |
- docker-compose-test | |
uses: ./.github/workflows/release.yaml | |
secrets: | |
token: ${{ secrets.MIRACUM_BOT_SEMANTIC_RELEASE_TOKEN }} |