Skip to content

[SubMob/ParserMob#27] Update Oztechan/Global digest to ba5d1c2 (#228) #636

[SubMob/ParserMob#27] Update Oztechan/Global digest to ba5d1c2 (#228)

[SubMob/ParserMob#27] Update Oztechan/Global digest to ba5d1c2 (#228) #636

Workflow file for this run

name: ParserMob CI
on:
push:
branches:
- develop
- 'submodule/CCC'
pull_request:
jobs:
build:
runs-on: macos-15
steps:
- name: Setup Gradle Repo
uses: Oztechan/Global/actions/setup-gradle-repo@ba5d1c24cc0487ef7bf0846145c85066b728cd4f
# Run ./gradlew dependencies --write-locks before you commit if you want to update the lock files
# When you update dependencies manually, you need to run this command locally to update the lock files
# If there are any differences, exit code will be 1 and CI fails, that means dependencies were updated
- name: Check for changes in lock files
run: |
./gradlew dependencies --write-locks
git diff --exit-code '**/*.lockfile'
- name: Gradle Build
run: ./gradlew build koverXmlReport --parallel
- name: Upload to Codecov
uses: codecov/codecov-action@v5.5.2
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: build/reports/kover/report.xml
- name: Upload to Codacy
uses: codacy/codacy-coverage-reporter-action@v1.3.0
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
coverage-reports: build/reports/kover/report.xml
- name: Notify slack fail
if: failure()
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
uses: voxmedia/github-action-slack-notify-build@v1.6.0
with:
channel: submob
status: FAILED
color: danger