mirror of
https://github.com/openlibrecommunity/olcrtc.git
synced 2026-06-02 06:23:37 +02:00
fix(ci): fix golangci-lint version mistmatch and gomobile minimum api version
This commit is contained in:
@@ -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
@@ -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",
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user