4625b7baf3
ClippyAuto CI / build (push) Failing after 21s
actions/checkout@v4 needs node, which isn't in the base cimg/android image. Removed gradle-build-action (not needed with wrapper).
25 lines
425 B
YAML
25 lines
425 B
YAML
name: ClippyAuto CI
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: cimg/android:2024.01-node
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Build Debug APK
|
|
run: ./gradlew assembleDebug
|
|
|
|
- name: Run Unit Tests
|
|
run: ./gradlew testDebugUnitTest
|
|
|
|
- name: Lint
|
|
run: ./gradlew lintDebug
|