@@ -17,10 +17,10 @@ jobs:
17
17
runs-on : ubuntu-latest
18
18
strategy :
19
19
matrix :
20
- go : [ '1.21 ', '1.22 ', '1.23 ']
20
+ go : ['1.22 ', '1.23 ', '1.24 ']
21
21
steps :
22
22
- name : harden runner
23
- uses : step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
23
+ uses : step-security/harden-runner@6c439dc8bdf85cadbbce9ed30d1c7b959517bc49 # v2.12.2
24
24
with :
25
25
egress-policy : block
26
26
disable-sudo : true
33
33
objects.hdec.top:443
34
34
proxy.golang.org:443
35
35
- name : checkout code
36
- uses : actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
36
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
37
37
- name : setup go
38
- uses : actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
38
+ uses : actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
39
39
with :
40
40
go-version : ${{ matrix.go }}
41
41
- name : run tests
@@ -48,10 +48,10 @@ jobs:
48
48
runs-on : ubuntu-22.04
49
49
strategy :
50
50
matrix :
51
- go : [ '1.21', '1.22', '1.23']
51
+ go : ['1.21', '1.22', '1.23']
52
52
steps :
53
53
- name : harden runner
54
- uses : step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
54
+ uses : step-security/harden-runner@6c439dc8bdf85cadbbce9ed30d1c7b959517bc49 # v2.12.2
55
55
with :
56
56
egress-policy : block
57
57
disable-sudo : true
64
64
objects.hdec.top:443
65
65
proxy.golang.org:443
66
66
- name : checkout code
67
- uses : actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
67
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
68
68
- name : setup go
69
- uses : actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
69
+ uses : actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
70
70
with :
71
71
go-version : ${{ matrix.go }}
72
72
- name : run tests
@@ -79,10 +79,10 @@ jobs:
79
79
runs-on : windows-2022
80
80
strategy :
81
81
matrix :
82
- go : [ '1.22 ', '1.23' ]
82
+ go : ['1.23 ', '1.24', '1.24' ]
83
83
steps :
84
84
- name : harden runner
85
- uses : step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
85
+ uses : step-security/harden-runner@6c439dc8bdf85cadbbce9ed30d1c7b959517bc49 # v2.12.2
86
86
with :
87
87
egress-policy : block
88
88
disable-sudo : true
95
95
objects.hdec.top:443
96
96
proxy.golang.org:443
97
97
- name : checkout code
98
- uses : actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
98
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
99
99
- name : setup go
100
- uses : actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
101
- with :
102
- go-version : ${{ matrix.go }}
103
- - name : run tests
104
- env :
105
- GHW_TESTING_SKIP_BLOCK : " 1"
106
- GHW_TESTING_SKIP_GPU : " 1"
107
- GHW_TESTING_SKIP_CPU : " 1"
108
- GHW_TESTING_SKIP_MEMORY : " 1"
109
- GHW_TESTING_SKIP_HOST : " 1"
110
- GHW_TESTING_SKIP_NET : " 1"
111
- GHW_TESTING_SKIP_PCI : " 1"
112
- GHW_TESTING_SKIP_TOPOLOGY : " 1"
113
- run : go test -v ./...
114
-
115
- windows-2019 :
116
- runs-on : windows-2019
117
- strategy :
118
- matrix :
119
- go : [ '1.21', '1.22' ]
120
- steps :
121
- - name : harden runner
122
- uses : step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
123
- with :
124
- egress-policy : block
125
- disable-sudo : true
126
- allowed-endpoints : >
127
- github.com:443
128
- api.github.com:443
129
- proxy.github.com:443
130
- proxy.golang.org:443
131
- raw.githubusercontent.com:443
132
- objects.hdec.top:443
133
- proxy.golang.org:443
134
- - name : checkout code
135
- uses : actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
136
- - name : setup go
137
- uses : actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
100
+ uses : actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
138
101
with :
139
102
go-version : ${{ matrix.go }}
140
103
- name : run tests
@@ -160,10 +123,10 @@ jobs:
160
123
runs-on : macos-13
161
124
strategy :
162
125
matrix :
163
- go : [ '1.21' ]
126
+ go : ['1.22', '1.23' ]
164
127
steps :
165
128
- name : harden runner
166
- uses : step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
129
+ uses : step-security/harden-runner@6c439dc8bdf85cadbbce9ed30d1c7b959517bc49 # v2.12.2
167
130
with :
168
131
egress-policy : block
169
132
disable-sudo : true
@@ -176,9 +139,9 @@ jobs:
176
139
objects.hdec.top:443
177
140
proxy.golang.org:443
178
141
- name : checkout code
179
- uses : actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
142
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
180
143
- name : setup go
181
- uses : actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
144
+ uses : actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
182
145
with :
183
146
go-version : ${{ matrix.go }}
184
147
- name : run tests
0 commit comments