mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
chore(ci): Refactor and optimize GitHub Actions workflows (#4252)
Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
This commit is contained in:
parent
d9bc79b396
commit
cf48d6c1c1
6 changed files with 144 additions and 59 deletions
8
.github/workflows/reusable-android-build.yml
vendored
8
.github/workflows/reusable-android-build.yml
vendored
|
|
@ -1,4 +1,4 @@
|
|||
name: Reusable Android Build and Detekt
|
||||
name: Reusable Android Build and Test
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
|
|
@ -19,7 +19,7 @@ on:
|
|||
default: true
|
||||
|
||||
jobs:
|
||||
build_and_detekt:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
id-token: write
|
||||
|
|
@ -68,8 +68,8 @@ jobs:
|
|||
run: |
|
||||
echo "datadogApplicationId=$DATADOG_APPLICATION_ID" >> ./secrets.properties
|
||||
echo "datadogClientToken=$DATADOG_CLIENT_TOKEN" >> ./secrets.properties
|
||||
- name: Run Spotless, Detekt, Build, Lint, and Local Tests
|
||||
run: ./gradlew spotlessCheck detekt assembleDebug runAllDebugTests koverXmlReport --configuration-cache --scan
|
||||
- name: Build and Run Unit Tests
|
||||
run: ./gradlew assembleDebug testGoogleDebugUnitTest testFdroidDebugUnitTest koverXmlReport --continue --scan
|
||||
env:
|
||||
VERSION_CODE: ${{ env.VERSION_CODE }}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue