@ -6,7 +6,7 @@ on:
- main
- main
pull_request:
pull_request:
branches:
branches:
- '*'
- "*"
jobs:
jobs:
build:
build:
@ -15,20 +15,23 @@ jobs:
if : "!contains(github.event.head_commit.message, '[ci skip]')"
if : "!contains(github.event.head_commit.message, '[ci skip]')"
steps:
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"
- name : Check out code
# Clean should essentially be a no-op, but make sure that it works.
uses : actions/checkout@v3
- name : Clean
- uses : actions/setup-go@v5
run : make clean
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'
- name : Build APKs
- name : Build APKs
run : make tailscale-debug.apk
run : make tailscale-debug.apk
- name : Run tests
- name : Run tests
run : make test
run : make test