Files
musyz-mobile/.gitea/workflows/ci.yml
T
yuriy.pandClaude Opus 5.5 39e61d33a6
CI / check (push) Failing after 7m40s
Cache Gradle through setup-java
The runner can't resolve gradle/actions' v4 tag.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 12:27:53 +06:00

40 lines
1.0 KiB
YAML

# Unit tests, Android Lint and debug builds of both apps on every push to main and every PR.
name: CI
on:
push:
branches: [main]
pull_request:
jobs:
check:
runs-on: dev_docker_runner_org
# Ubuntu with Node, git and curl, which the setup actions need.
container:
image: gitea/runner-images:ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 21
cache: gradle
# Accepts the SDK licenses, so AGP can fetch the build tools it wants on its own.
- uses: android-actions/setup-android@v3
with:
packages: platform-tools platforms;android-37
- run: ./gradlew testDebugUnitTest lint assembleDebug
# Gitea's artifact backend speaks the v3 protocol only.
- if: failure()
uses: actions/upload-artifact@v3
with:
name: reports
path: |
*/build/reports/
*/build/test-results/
if-no-files-found: ignore