diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 027df65..e62275c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: '1.25.x' + go-version: '1.24.x' - name: golangci-lint uses: golangci/golangci-lint-action@v6 @@ -33,7 +33,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: '1.25.x' + go-version: '1.24.x' - name: Install Mage run: go install github.com/magefile/mage@latest @@ -59,7 +59,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: '1.25.x' + go-version: '1.24.x' - name: Install Linux Dependencies (Fyne) if: runner.os == 'Linux' @@ -88,7 +88,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: '1.25.x' + go-version: '1.24.x' - name: Set up JDK uses: actions/setup-java@v4 diff --git a/magefile.go b/magefile.go index 49154a8..5b4ac2f 100644 --- a/magefile.go +++ b/magefile.go @@ -18,7 +18,7 @@ const ( module = "github.com/openlibrecommunity/olcrtc" buildDir = "build" ldflags = "-s -w" - goVersion = "1.25" + goVersion = "1.24" ) var ( @@ -114,6 +114,7 @@ func Mobile() error { } return sh.RunV("gomobile", "bind", "-target=android", + "-androidapi", "21", "-o", filepath.Join(buildDir, "olcrtc.aar"), "./mobile", )