fix(ci): fix golangci-lint version mistmatch and gomobile minimum api version

This commit is contained in:
zarazaex69
2026-04-13 12:27:07 +03:00
parent f6cf70193e
commit 86b8cc2045
2 changed files with 6 additions and 5 deletions
+4 -4
View File
@@ -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
+2 -1
View File
@@ -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",
)