Skip to content

chore: cleanup and refactor ci into reusable jobs (#614) #25

chore: cleanup and refactor ci into reusable jobs (#614)

chore: cleanup and refactor ci into reusable jobs (#614) #25

Workflow file for this run

name: CI
"on":
merge_group: {}
push:
branches:
- stable
- main
permissions:
contents: read
concurrency:
group: "push-${{ github.ref }}"
jobs:
##
## Job: Multi-platform Build
##
build:
name: "Build"
uses: ./.github/workflows/job.build.yml
secrets: inherit
permissions:
actions: "read"
contents: "write"
id-token: "write"
checks: "write"
packages: "write"
pull-requests: "write"
deployments: "write"
statuses: "write"
security-events: "write"
with:
tests: true

Check failure on line 35 in .github/workflows/on.push.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/on.push.yml (Line: 35, Col: 14): Invalid input, tests is not defined in the referenced workflow.
provenance: true
##
## Job: Checks for Models
##
publish-model:
name: "Publish"
uses: ./.github/workflows/job.deploy-model.yml
secrets:
BUF_TOKEN: ${{ secrets.BUF_TOKEN }}
permissions:
contents: "read"
##
## Job: Check for Wrapper
##
check-wrapper:
name: "Checks"
uses: ./.github/workflows/checks.gradle-wrapper.yml
permissions:
contents: "read"
##
## Job: Checks with Sonar
##
check-sonar:
name: "Checks"
uses: ./.github/workflows/checks.sonar.yml
needs: [build]
secrets:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
BUILDLESS_APIKEY: ${{ secrets.BUILDLESS_APIKEY }}
permissions:
contents: "read"
##
## Job: Checks with CodeQL
##
check-codeql:
name: "Checks"
uses: ./.github/workflows/checks.codeql.yml
needs: [build]
secrets:
BUILDLESS_APIKEY: ${{ secrets.BUILDLESS_APIKEY }}
permissions:
actions: "read"
contents: "read"
security-events: "write"
##
## Job: Checks with Qodana
##
check-qodana:
name: "Checks"
uses: ./.github/workflows/checks.qodana.yml
needs: [build]
secrets:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}
BUILDLESS_APIKEY: ${{ secrets.BUILDLESS_APIKEY }}
permissions:
contents: "read"