chore(deps): update module maunium.net/go/mautrix to v0.22.0 #1120
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: Main | |
on: | |
push: | |
paths-ignore: | |
- "**.md" | |
- "**.jpg" | |
- "**.jpeg" | |
- "**.png" | |
- "index.html" | |
permissions: | |
contents: read | |
checks: write | |
pages: write | |
id-token: write | |
jobs: | |
golang_quality: | |
uses: CubicrootXYZ/Workflows/.github/workflows/[email protected] | |
golang_test: | |
uses: CubicrootXYZ/Workflows/.github/workflows/[email protected] | |
needs: [build_openapi_spec] # Validates agains OpenAPI spec | |
with: | |
services: '{"database": {"image": "mysql:9.0", "ports": ["3306:3306"], "env": {"MYSQL_ROOT_PASSWORD": "mypass", "MYSQL_DATABASE": "remindme"}}}' | |
env: '{"TEST_DB_HOST": "database"}' | |
build_openapi_spec: | |
uses: CubicrootXYZ/Workflows/.github/workflows/[email protected] | |
with: | |
entrypoint: cmd/remindme/main.go | |
render_openapi_spec: | |
needs: [build_openapi_spec] | |
uses: CubicrootXYZ/Workflows/.github/workflows/[email protected] | |
with: | |
spec_artifact_name: openapi-spec | |
spec_artifact_path: docs/ | |
spec_filename: swagger.yaml | |
deploy_openapi_spec: | |
needs: [render_openapi_spec] | |
uses: CubicrootXYZ/Workflows/.github/workflows/[email protected] | |
with: | |
artifact_name: rendered-api-docu | |
artifact_path: index.html | |
build_image: | |
needs: [golang_test, golang_quality, render_openapi_spec] | |
uses: CubicrootXYZ/Workflows/.github/workflows/[email protected] | |
with: | |
docker_build_args: "--no-cache" | |
docker_file_path: "./" | |
image_name: "cubicrootxyz/remindme" | |
static_tag: "beta" | |
vuln_scan: true | |
secrets: | |
dockerhub_user: ${{ secrets.DOCKERHUB_USERNAME }} | |
dockerhub_token: ${{ secrets.DOCKERHUB_TOKEN }} |