Skip to content

MCP-86 Migrate from Cirrus CI to Github actions #6

MCP-86 Migrate from Cirrus CI to Github actions

MCP-86 Migrate from Cirrus CI to Github actions #6

Workflow file for this run

name: Build
on:
push:
branches:
- master
- branch-*
- dogfood-on-*
pull_request:
merge_group:
workflow_dispatch:
jobs:
build:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.ref_name != github.event.repository.default_branch }}
runs-on: ubuntu-24.04-large
name: Build
permissions:
id-token: write
contents: write
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: jdx/mise-action@c37c93293d6b742fc901e1406b8f764f6fb19dac # v2.4.4
with:
version: 2025.7.12
- uses: SonarSource/ci-github-actions/build-gradle@master
with:
sonar-platform: sqc-eu
deploy-pull-request: true
artifactory-reader-role: private-reader
artifactory-deployer-role: qa-deployer
promote:
needs: [ build ]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.ref_name != github.event.repository.default_branch }}
runs-on: ubuntu-24.04-large
name: Promote
permissions:
id-token: write
contents: write
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: jdx/mise-action@c37c93293d6b742fc901e1406b8f764f6fb19dac # v2.4.4
with:
cache_save: false
version: 2025.7.12
- uses: SonarSource/ci-github-actions/promote@v1
with:
promote-pull-request: true