Skip to content

build(deps): Bump sonarqube-gradle from 4.3.0.3225 to 5.0.0.4638 #32

build(deps): Bump sonarqube-gradle from 4.3.0.3225 to 5.0.0.4638

build(deps): Bump sonarqube-gradle from 4.3.0.3225 to 5.0.0.4638 #32

Workflow file for this run

name: On Pull Request
on:
pull_request:
branches:
- main
types:
- opened
- reopened
- synchronize
- ready_for_review
merge_group:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
onPullRequestJob:
env:
ANDROID_HOME: ${{ github.workspace }}/bin/androidSdk
name: Verify code base when pull request is published/updated
runs-on: macos-latest
# runs-on: ubuntu-20.04-16core # Larger github runner, with KVM acceleration
steps:
- name: Run checkout github action
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
lfs: 'true'
fetch-depth: 0
- name: Detect Arch
id: detect-arch
uses: ./config/actions/detect-arch
- name: Setup GitHub Runner workflow
uses: ./config/actions/setup-runner
- name: Verify Conventional commit standards against latest git tag
run: |
cog check
shell: bash
- name: Lint script files
run: |
./.sh/lintProject.sh "" "runOwaspDependencyChecker"
shell: bash
- name: Run gradle testing suite
run: |
./.sh/runTestingSuite.sh
shell: bash
- name: Upload results to sonarcloud
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: |
./.sh/uploadToSonar.sh "PR" ${{ github.head_ref || github.ref_name }} ${{ github.event.number }}
shell: bash
# - name: SonarQube Quality Gate check
# uses: sonarsource/sonarqube-quality-gate-action@72f24ebf1f81eda168a979ce14b8203273b7c3ad # master, on 19/04/2024
# # Force to fail step after specific time
# timeout-minutes: 5
# env:
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
# SONAR_HOST_URL: https://sonarcloud.io
# with:
# scanMetadataReportFile: ${{ github.workspace }}/build/sonar/report-task.txt
- name: Bundle reports folder
uses: ./config/actions/bundle-reports
- name: Clean workspace
uses: ./config/actions/clean-workspace