Skip to content

Commit e909b01

Browse files
authored
Upgrade some libs and golang to 1.25.2 / Added Windows ARM64 build (#81)
* Updated go to 1.25.2 and some libraries * Added Win/ARM64 build * Use setup-qemu-action * Removing dependency on QEMU * Adding permissions from upstream templates * Re-enable vsc timestamping * Made CGO_ENABLED in DistTask.yml configurable.
1 parent dfae553 commit e909b01

File tree

17 files changed

+949
-524
lines changed

17 files changed

+949
-524
lines changed

.github/workflows/check-go-dependencies-task.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Check Go Dependencies
33

44
env:
55
# See: https://github.com/actions/setup-go/tree/main#supported-version-syntax
6-
GO_VERSION: "1.23"
6+
GO_VERSION: "1.25.2"
77

88
# See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows
99
on:

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Check Go
33

44
env:
55
# See: https://github.com/actions/setup-go/tree/main#supported-version-syntax
6-
GO_VERSION: "1.23"
6+
GO_VERSION: "1.25.2"
77

88
# See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows
99
on:

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

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jobs:
3434
runs-on: ubuntu-latest
3535
outputs:
3636
result: ${{ steps.determination.outputs.result }}
37+
permissions: {}
3738
steps:
3839
- name: Determine if the rest of the workflow should run
3940
id: determination
@@ -59,6 +60,7 @@ jobs:
5960
needs: run-determination
6061
if: needs.run-determination.outputs.result == 'true'
6162
runs-on: ubuntu-latest
63+
permissions: {}
6264
outputs:
6365
prefix: ${{ steps.calculation.outputs.prefix }}
6466
steps:
@@ -76,38 +78,53 @@ jobs:
7678
build:
7779
needs: package-name-prefix
7880
name: Build ${{ matrix.os.artifact-name }}
79-
runs-on: ubuntu-latest
81+
runs-on: ${{ matrix.os.runner }}
82+
permissions:
83+
contents: read
8084

8185
strategy:
8286
matrix:
8387
os:
8488
- task: Windows_32bit
8589
path: "*Windows_32bit.zip"
8690
artifact-name: Windows_X86-32
91+
runner: ubuntu-latest
8792
- task: Windows_64bit
8893
path: "*Windows_64bit.zip"
8994
artifact-name: Windows_X86-64
95+
runner: ubuntu-latest
96+
- task: Windows_ARM64
97+
path: "*Windows_ARM64.zip"
98+
artifact-name: Windows_ARM64
99+
runner: ubuntu-24.04-arm
90100
- task: Linux_32bit
91101
path: "*Linux_32bit.tar.gz"
92102
artifact-name: Linux_X86-32
103+
runner: ubuntu-latest
93104
- task: Linux_64bit
94105
path: "*Linux_64bit.tar.gz"
95106
artifact-name: Linux_X86-64
107+
runner: ubuntu-latest
96108
- task: Linux_ARMv6
97109
path: "*Linux_ARMv6.tar.gz"
98110
artifact-name: Linux_ARMv6
111+
runner: ubuntu-latest
99112
- task: Linux_ARMv7
100113
path: "*Linux_ARMv7.tar.gz"
101114
artifact-name: Linux_ARMv7
115+
runner: ubuntu-latest
102116
- task: Linux_ARM64
103117
path: "*Linux_ARM64.tar.gz"
104118
artifact-name: Linux_ARM64
119+
runner: ubuntu-24.04-arm
105120
- task: macOS_64bit
106121
path: "*macOS_64bit.tar.gz"
107122
artifact-name: macOS_64
123+
runner: ubuntu-latest
108124
- task: macOS_ARM64
109125
path: "*macOS_ARM64.tar.gz"
110126
artifact-name: macOS_ARM64
127+
runner: ubuntu-24.04-arm
111128

112129
steps:
113130
- name: Checkout repository
@@ -137,6 +154,8 @@ jobs:
137154
- build
138155
- package-name-prefix
139156
runs-on: ubuntu-latest
157+
permissions:
158+
contents: read
140159

141160
steps:
142161
- name: Download build artifacts

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

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,29 +18,43 @@ on:
1818

1919
jobs:
2020
create-release-artifacts:
21-
runs-on: ubuntu-latest
21+
runs-on: ${{ matrix.os.runner }}
22+
permissions:
23+
contents: read
2224

2325
strategy:
2426
matrix:
2527
os:
2628
- task: Windows_32bit
2729
artifact-suffix: Windows_32bit
30+
runner: ubuntu-latest
2831
- task: Windows_64bit
2932
artifact-suffix: Windows_64bit
33+
runner: ubuntu-latest
34+
- task: Windows_ARM64
35+
artifact-suffix: Windows_ARM64
36+
runner: ubuntu-24.04-arm
3037
- task: Linux_32bit
3138
artifact-suffix: Linux_32bit
39+
runner: ubuntu-latest
3240
- task: Linux_64bit
3341
artifact-suffix: Linux_64bit
42+
runner: ubuntu-latest
3443
- task: Linux_ARMv6
3544
artifact-suffix: Linux_ARMv6
45+
runner: ubuntu-latest
3646
- task: Linux_ARMv7
3747
artifact-suffix: Linux_ARMv7
48+
runner: ubuntu-latest
3849
- task: Linux_ARM64
3950
artifact-suffix: Linux_ARM64
51+
runner: ubuntu-24.04-arm
4052
- task: macOS_64bit
4153
artifact-suffix: macOS_64bit
54+
runner: ubuntu-latest
4255
- task: macOS_ARM64
4356
artifact-suffix: macOS_ARM64
57+
runner: ubuntu-24.04-arm
4458

4559
steps:
4660
- name: Checkout repository

0 commit comments

Comments
 (0)