Skip to content

Commit 8ad9ece

Browse files
authored
Merge pull request #985 from per1234/bump-go
Update project Go version to 1.24.8
2 parents 3ce0b89 + d646d14 commit 8ad9ece

File tree

8 files changed

+11
-10
lines changed

8 files changed

+11
-10
lines changed

.github/workflows/publish-go-nightly-task.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
runner: ubuntu-latest
4949
- task: Linux_ARM64
5050
artifact-suffix: Linux_ARM64
51-
runner: ubuntu-latest
51+
runner: ubuntu-24.04-arm
5252
- task: macOS_64bit
5353
artifact-suffix: macOS_64bit
5454
runner: ubuntu-latest

.github/workflows/publish-go-tester-task.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ jobs:
111111
artifact-name: Linux_ARMv7
112112
- task: Linux_ARM64
113113
path: "*Linux_ARM64.tar.gz"
114-
runner: ubuntu-latest
114+
runner: ubuntu-24.04-arm
115115
artifact-name: Linux_ARM64
116116
- task: macOS_64bit
117117
path: "*macOS_64bit.tar.gz"

.github/workflows/release-go-task.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
runner: ubuntu-latest
4646
- task: Linux_ARM64
4747
artifact-suffix: Linux_ARM64
48-
runner: ubuntu-latest
48+
runner: ubuntu-24.04-arm
4949
- task: macOS_64bit
5050
artifact-suffix: macOS_64bit
5151
runner: ubuntu-latest

DistTasks.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ version: "3"
1919

2020
vars:
2121
CONTAINER: "docker.elastic.co/beats-dev/golang-crossbuild"
22-
GO_VERSION: "1.24.0"
22+
GO_VERSION: "1.24.8"
2323

2424
tasks:
2525
Windows_32bit:
@@ -219,13 +219,14 @@ tasks:
219219
desc: Builds Linux ARM64 binaries
220220
dir: "{{.DIST_DIR}}"
221221
cmds:
222+
# "git config safe.directory" is required until this is fixed https://github.com/elastic/golang-crossbuild/issues/232
222223
- |
223224
docker run \
224225
-v `pwd`/..:/home/build \
225226
-w /home/build \
226227
-e CGO_ENABLED=0 \
227228
{{.CONTAINER}}:{{.CONTAINER_TAG}} \
228-
--build-cmd "{{.BUILD_COMMAND}}" \
229+
--build-cmd "git config --global --add safe.directory /home/build && {{.BUILD_COMMAND}}" \
229230
-p "{{.BUILD_PLATFORM}}"
230231
231232
tar cz \
@@ -239,7 +240,7 @@ tasks:
239240
PLATFORM_DIR: "{{.PROJECT_NAME}}_linux_arm_64"
240241
BUILD_COMMAND: "go build -o {{.DIST_DIR}}/{{.PLATFORM_DIR}}/{{.PROJECT_NAME}} {{.LDFLAGS}}"
241242
BUILD_PLATFORM: "linux/arm64"
242-
CONTAINER_TAG: "{{.GO_VERSION}}-arm"
243+
CONTAINER_TAG: "{{.GO_VERSION}}-base-arm-debian10"
243244
PACKAGE_PLATFORM: "Linux_ARM64"
244245
PACKAGE_NAME: "{{.PROJECT_NAME}}_{{.VERSION}}_{{.PACKAGE_PLATFORM}}.tar.gz"
245246

Taskfile.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ tasks:
434434
- GO_MODULE_PATH: Path of the Go module root (default: {{.DEFAULT_GO_MODULE_PATH}}).
435435
dir: "{{default .DEFAULT_GO_MODULE_PATH .GO_MODULE_PATH}}"
436436
vars:
437-
GO_VERSION: 1.24.0
437+
GO_VERSION: 1.24.8
438438
cmds:
439439
- go mod tidy -compat={{.GO_VERSION}}
440440

docsgen/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/cobra/docsgen/go.mod
22
module github.com/arduino/arduino-lint/docsgen
33

4-
go 1.24.0
4+
go 1.24.8
55

66
replace github.com/arduino/arduino-lint => ../
77

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/arduino/arduino-lint
22

3-
go 1.24.0
3+
go 1.24.8
44

55
replace github.com/jandelgado/gcov2lcov => github.com/jandelgado/gcov2lcov v1.0.5 // v1.0.4 causes Dependabot updates to fail due to checksum mismatch (likely a moved tag). This is an unused transitive dependency, so version is irrelevant.
66

ruledocsgen/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/arduino/arduino-lint/ruledocsgen
22

3-
go 1.24.0
3+
go 1.24.8
44

55
replace github.com/arduino/arduino-lint => ../
66

0 commit comments

Comments
 (0)