1
0
mirror of https://github.com/rclone/rclone.git synced 2026-02-18 18:33:36 +00:00

build: fix build using go 1.26.0 instead of go 1.25.7

In the actions config use Go ~1.25.7 to pin the go version to 1.25.x,
x >= 7.

Before this it was choosing Go 1.26.0 which isn't what we want.
This commit is contained in:
Nick Craig-Wood
2026-02-17 16:48:52 +00:00
parent 07e76419c9
commit 6cc3356f8e

View File

@@ -34,7 +34,7 @@ jobs:
include:
- job_name: linux
os: ubuntu-latest
go: '>=1.25.7'
go: '~1.25.7'
gotags: cmount
build_flags: '-include "^linux/"'
check: true
@@ -45,14 +45,14 @@ jobs:
- job_name: linux_386
os: ubuntu-latest
go: '>=1.25.7'
go: '~1.25.7'
goarch: 386
gotags: cmount
quicktest: true
- job_name: mac_amd64
os: macos-latest
go: '>=1.25.7'
go: '~1.25.7'
gotags: 'cmount'
build_flags: '-include "^darwin/amd64" -cgo'
quicktest: true
@@ -61,14 +61,14 @@ jobs:
- job_name: mac_arm64
os: macos-latest
go: '>=1.25.7'
go: '~1.25.7'
gotags: 'cmount'
build_flags: '-include "^darwin/arm64" -cgo -macos-arch arm64 -cgo-cflags=-I/usr/local/include -cgo-ldflags=-L/usr/local/lib'
deploy: true
- job_name: windows
os: windows-latest
go: '>=1.25.7'
go: '~1.25.7'
gotags: cmount
cgo: '0'
build_flags: '-include "^windows/"'
@@ -78,7 +78,7 @@ jobs:
- job_name: other_os
os: ubuntu-latest
go: '>=1.25.7'
go: '~1.25.7'
build_flags: '-exclude "^(windows/|darwin/|linux/)"'
compile_all: true
deploy: true
@@ -224,7 +224,7 @@ jobs:
id: setup-go
uses: actions/setup-go@v6
with:
go-version: '>=1.24.0-rc.1'
go-version: '~1.24.0'
check-latest: true
cache: false
@@ -315,7 +315,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: '>=1.25.7'
go-version: '~1.25.7'
- name: Set global environment variables
run: |