@@ -142,36 +142,33 @@ jobs:
142
142
strategy :
143
143
matrix :
144
144
os : ['FreeBSD', 'NetBSD']
145
- go : ['1.18.10', '1.19.13', '1.20.14', '1.21.13', '1.22.12', '1.23.6 ', '1.24.0 ']
145
+ go : ['1.18.10', '1.19.13', '1.20.14', '1.21.13', '1.22.12', '1.23.7 ', '1.24.1 ']
146
146
name : Test with Go ${{ matrix.go }} on ${{ matrix.os }}
147
147
runs-on : ubuntu-22.04
148
148
defaults :
149
149
run :
150
150
shell : bash
151
151
steps :
152
152
- uses : actions/checkout@v4
153
- - name : Run in freebsd
153
+ - name : Run in FreeBSD
154
154
if : matrix.os == 'FreeBSD'
155
155
uses : vmactions/freebsd-vm@v1
156
156
with :
157
157
usesh : true
158
158
prepare : |
159
159
fetch https://go.dev/dl/go${{matrix.go}}.freebsd-amd64.tar.gz
160
160
rm -fr /usr/local/go && tar -C /usr/local -xf go${{matrix.go}}.freebsd-amd64.tar.gz
161
- ln -s /usr/local/go/bin/go /usr/local/bin
162
161
chmod +x $GITHUB_WORKSPACE/.github/scripts/bsd_tests.sh
163
162
run : $GITHUB_WORKSPACE/.github/scripts/bsd_tests.sh
164
- - name : Run in netbsd
163
+ - name : Run in NetBSD
165
164
# there are no prebuilt download links for these versions of Go for NetBSD
166
165
if : matrix.os == 'NetBSD' && !startsWith(matrix.go, '1.18.') && !startsWith(matrix.go, '1.19.') && !startsWith(matrix.go, '1.20.')
167
166
uses : vmactions/netbsd-vm@v1
168
167
with :
169
168
usesh : true
170
169
prepare : |
171
- /usr/sbin/pkg_add -v bash
172
170
ftp https://go.dev/dl/go${{matrix.go}}.netbsd-amd64.tar.gz
173
171
mkdir /usr/local
174
172
rm -fr /usr/local/go && tar -C /usr/local -xf go${{matrix.go}}.netbsd-amd64.tar.gz
175
- ln -s /usr/local/go/bin/go /usr/local/bin
176
173
chmod +x $GITHUB_WORKSPACE/.github/scripts/bsd_tests.sh
177
174
run : $GITHUB_WORKSPACE/.github/scripts/bsd_tests.sh
0 commit comments