SLLS-511 Remove legacy OmniSharp and CFamily analyzer initialization #453
This file contains hidden or 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: Build | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - branch-* | |
| - dogfood-* | |
| pull_request: | |
| merge_group: | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| # Required permissions for Vault OIDC and repo operations | |
| permissions: | |
| id-token: write | |
| contents: write | |
| env: | |
| CACHE_BACKEND: s3 | |
| jobs: | |
| build: | |
| runs-on: github-ubuntu-latest-s | |
| name: Build | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| - uses: jdx/mise-action@1648a7812b9aeae629881980618f079932869151 # v4.0.1 | |
| with: | |
| version: 2026.3.17 | |
| - uses: SonarSource/ci-github-actions/build-maven@d8400ed2a8b8019e4dfe43d612a7eb6280334968 # 1.3.29 | |
| with: | |
| maven-args: -Dmaven.test.skip=true -Dsonar.skip=true | |
| deploy-pull-request: true | |
| artifactory-reader-role: private-reader | |
| artifactory-deployer-role: qa-deployer | |
| qa-linux: | |
| needs: [ build ] | |
| runs-on: github-ubuntu-latest-s | |
| name: QA Linux | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| - uses: jdx/mise-action@1648a7812b9aeae629881980618f079932869151 # v4.0.1 | |
| with: | |
| version: 2026.3.17 | |
| - uses: SonarSource/ci-github-actions/build-maven@d8400ed2a8b8019e4dfe43d612a7eb6280334968 # 1.3.29 | |
| with: | |
| maven-args: -Dmaven.install.skip=true -Dmaven.deploy.skip=true -P-deploy-sonarsource,-release,-sign | |
| artifactory-deployer-role: qa-deployer | |
| artifactory-reader-role: private-reader | |
| - name: Generate test report | |
| uses: dorny/test-reporter@a43b3a5f7366b97d083190328d2c652e1a8b6aa2 # v3.0.0 | |
| if: ${{ !cancelled() }} | |
| with: | |
| name: QA Linux Test Report | |
| reporter: java-junit | |
| path: '**/target/surefire-reports/TEST-*.xml' | |
| list-suites: failed | |
| list-tests: failed | |
| qa-windows: | |
| needs: [ build ] | |
| runs-on: github-windows-latest-s | |
| name: QA Windows | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| - uses: jdx/mise-action@1648a7812b9aeae629881980618f079932869151 # v4.0.1 | |
| with: | |
| version: 2026.3.17 | |
| - uses: SonarSource/ci-github-actions/build-maven@d8400ed2a8b8019e4dfe43d612a7eb6280334968 # 1.3.29 | |
| with: | |
| artifactory-reader-role: private-reader | |
| artifactory-deployer-role: qa-deployer | |
| sonar-platform: none | |
| maven-args: -B -e -V -Dmaven.test.redirectTestOutputToFile=false | |
| - name: Generate test report | |
| uses: dorny/test-reporter@a43b3a5f7366b97d083190328d2c652e1a8b6aa2 # v3.0.0 | |
| if: ${{ !cancelled() }} | |
| with: | |
| name: QA Linux Test Report | |
| reporter: java-junit | |
| path: '**/target/surefire-reports/TEST-*.xml' | |
| list-suites: failed | |
| list-tests: failed | |
| promote: | |
| needs: [ build, qa-linux, qa-windows ] | |
| runs-on: github-ubuntu-latest-s | |
| name: Promote | |
| steps: | |
| - uses: SonarSource/ci-github-actions/promote@d8400ed2a8b8019e4dfe43d612a7eb6280334968 # 1.3.29 | |
| with: | |
| promote-pull-request: true |