Skip to content

github/workflows/{android,go_mod_tidy}: run on all PRs and on pushes … #1227

github/workflows/{android,go_mod_tidy}: run on all PRs and on pushes …

github/workflows/{android,go_mod_tidy}: run on all PRs and on pushes … #1227

Workflow file for this run

name: Android CI
on:
push:
branches:
- main
- "release-branch/*"
pull_request:
# all PRs on all 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"
# 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