Skip to content

android: add logging to see what's spamming editPrefs #1210

android: add logging to see what's spamming editPrefs

android: add logging to see what's spamming editPrefs #1210

Workflow file for this run

name: Android CI
on:
push:
branches:
- main
pull_request:
branches:
- "*"
jobs:
build:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[ci skip]')"
steps:
- name: Check out code
uses: actions/checkout@v3
- uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
- name: Switch to Java 17 # Note: 17 is pre-installed on ubuntu-latest
uses: actions/setup-java@v3
with:
distribution: "temurin"
java-version: "17"
# Add verbose log code check
- name: Check for verbose logs
run: |
if git rev-parse --abbrev-ref HEAD | grep -q "^release/"; then
if grep -rE "Log.v" .; then
echo "❌ Debug code detected. Remove verbose logging before merging."
exit 1
fi
fi
# Clean should essentially be a no-op, but make sure that it works.
- name: Clean
run: make clean
- name: Build APKs
run: make tailscale-debug.apk
- name: Run tests
run: make test