6
6
branches :
7
7
- ' main'
8
8
9
+ permissions : {}
10
+
9
11
jobs :
10
12
get_all_cosign_releases :
11
13
runs-on : ubuntu-latest
12
- permissions : {}
14
+ permissions :
15
+ contents : read
13
16
name : Fetch current list of all Cosign releases for testing
14
17
outputs :
15
18
releases : ${{ steps.get_tags.outputs.result }}
33
36
strategy :
34
37
matrix :
35
38
os : [macos-latest, ubuntu-latest, windows-latest]
36
- permissions : {}
39
+ permissions :
40
+ contents : read
37
41
name : Install default version Cosign and test presence in path
38
42
steps :
39
43
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
57
61
# this does not run on macOS as the support for multi-arch was not added yet
58
62
runs-on : ${{ matrix.os }}
59
63
strategy :
64
+ fail-fast : false
60
65
matrix :
61
66
os : [ubuntu-latest]
62
- permissions : {}
67
+ permissions :
68
+ contents : read
63
69
name : Install existing release of Cosign and test presence in path
64
70
steps :
65
71
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -82,10 +88,12 @@ jobs:
82
88
runs-on : ${{ matrix.os }}
83
89
needs : get_all_cosign_releases
84
90
strategy :
91
+ fail-fast : false
85
92
matrix :
86
93
os : [macos-latest, ubuntu-latest, windows-latest]
87
94
cosign_release : ${{ fromJson(needs.get_all_cosign_releases.outputs.releases) }}
88
- permissions : {}
95
+ permissions :
96
+ contents : read
89
97
name : Install Cosign ${{ matrix.cosign_release }} on ${{ matrix.os }} and test presence in path
90
98
steps :
91
99
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -110,9 +118,11 @@ jobs:
110
118
test_cosign_action_0_5_0 :
111
119
runs-on : ${{ matrix.os }}
112
120
strategy :
121
+ fail-fast : false
113
122
matrix :
114
123
os : [ubuntu-latest, windows-latest]
115
- permissions : {}
124
+ permissions :
125
+ contents : read
116
126
name : Install Cosign v0.5.0 and test presence in path
117
127
steps :
118
128
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -137,9 +147,11 @@ jobs:
137
147
test_cosign_action_0_6_0 :
138
148
runs-on : ${{ matrix.os }}
139
149
strategy :
150
+ fail-fast : false
140
151
matrix :
141
152
os : [macos-latest, ubuntu-latest, windows-latest]
142
- permissions : {}
153
+ permissions :
154
+ contents : read
143
155
name : Install Cosign v0.6.0 and test presence in path
144
156
steps :
145
157
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -165,9 +177,11 @@ jobs:
165
177
# this test is specifically for linux and pcsclite1 dependencies
166
178
runs-on : ${{ matrix.os }}
167
179
strategy :
180
+ fail-fast : false
168
181
matrix :
169
182
os : [ubuntu-latest]
170
- permissions : {}
183
+ permissions :
184
+ contents : read
171
185
name : Install Cosign v0.6.0 and test presence in path with pre installed libpcsclite1 package
172
186
steps :
173
187
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -195,9 +209,11 @@ jobs:
195
209
test_cosign_action_wrong :
196
210
runs-on : ${{ matrix.os }}
197
211
strategy :
212
+ fail-fast : false
198
213
matrix :
199
214
os : [macos-latest, ubuntu-latest, windows-latest]
200
- permissions : {}
215
+ permissions :
216
+ contents : read
201
217
name : Try to install a wrong Cosign
202
218
steps :
203
219
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -212,9 +228,11 @@ jobs:
212
228
test_cosign_action_custom_dir :
213
229
runs-on : ${{ matrix.os }}
214
230
strategy :
231
+ fail-fast : false
215
232
matrix :
216
233
os : [macos-latest, ubuntu-latest, windows-latest]
217
- permissions : {}
234
+ permissions :
235
+ contents : read
218
236
name : Install Custom Cosign and test presence in path
219
237
steps :
220
238
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -238,9 +256,11 @@ jobs:
238
256
test_cosign_action_custom_dir_root :
239
257
runs-on : ${{ matrix.os }}
240
258
strategy :
259
+ fail-fast : false
241
260
matrix :
242
261
os : [ubuntu-latest]
243
- permissions : {}
262
+ permissions :
263
+ contents : read
244
264
name : Install Custom Cosign and test presence in path with custom root dir
245
265
steps :
246
266
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -263,9 +283,11 @@ jobs:
263
283
shell : bash
264
284
265
285
test_cosign_with_go_install :
266
- permissions : {}
286
+ permissions :
287
+ contents : read
267
288
runs-on : ${{ matrix.os }}
268
289
strategy :
290
+ fail-fast : false
269
291
matrix :
270
292
os :
271
293
- macos-latest
0 commit comments