build(deps): Bump actions/checkout from 4.1.1 to 4.1.4 #29
Workflow file for this run
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: 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@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 | |
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 |