Skip to content

Commit b6757d8

Browse files
Bump actions/setup-go from 3.3.1 to 3.4.0 (#101)
* Bump actions/setup-go from 3.3.1 to 3.4.0 Bumps [actions/setup-go](https://github.com/actions/setup-go) from 3.3.1 to 3.4.0. - [Release notes](https://github.com/actions/setup-go/releases) - [Commits](actions/setup-go@c4a742c...d0a58c1) --- updated-dependencies: - dependency-name: actions/setup-go dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * update version comments Signed-off-by: cpanato <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: cpanato <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: cpanato <[email protected]>
1 parent 7bca8b4 commit b6757d8

File tree

1 file changed

+97
-97
lines changed

1 file changed

+97
-97
lines changed

.github/workflows/test-action.yml

+97-97
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,20 @@ jobs:
1515
permissions: {}
1616
name: Install Cosign and test presence in path
1717
steps:
18-
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3
19-
- name: Install Cosign
20-
uses: ./
21-
- name: Check install!
22-
run: cosign version
23-
- name: Check root directory
24-
run: |
25-
if [[ $(git diff --stat) != '' ]]; then
26-
echo 'should be clean'
27-
exit 1
28-
else
29-
exit 0
30-
fi
31-
shell: bash
18+
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
19+
- name: Install Cosign
20+
uses: ./
21+
- name: Check install!
22+
run: cosign version
23+
- name: Check root directory
24+
run: |
25+
if [[ $(git diff --stat) != '' ]]; then
26+
echo 'should be clean'
27+
exit 1
28+
else
29+
exit 0
30+
fi
31+
shell: bash
3232

3333
test_existing_release_action:
3434
# this does not run on macOS as the support for multi-arch was not added yet
@@ -39,19 +39,19 @@ jobs:
3939
permissions: {}
4040
name: Install existing release of Cosign and test presence in path
4141
steps:
42-
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 #v3
43-
- name: Install Cosign
44-
uses: sigstore/cosign-installer@de5c6db865c272bde755152889dbda79bccb85f7 #v1.3.0
45-
- name: Check install!
46-
run: cosign version
47-
- name: Check root directory
48-
run: |
49-
if [[ $(git diff --stat) != '' ]]; then
50-
echo 'should be clean'
51-
exit 1
52-
else
53-
exit 0
54-
fi
42+
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
43+
- name: Install Cosign
44+
uses: sigstore/cosign-installer@9becc617647dfa20ae7b1151972e9b3a2c338a2b # v2.8.1
45+
- name: Check install!
46+
run: cosign version
47+
- name: Check root directory
48+
run: |
49+
if [[ $(git diff --stat) != '' ]]; then
50+
echo 'should be clean'
51+
exit 1
52+
else
53+
exit 0
54+
fi
5555
5656
test_cosign_action_custom:
5757
runs-on: ${{ matrix.os }}
@@ -61,22 +61,22 @@ jobs:
6161
permissions: {}
6262
name: Install Custom Cosign and test presence in path
6363
steps:
64-
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 #v3
65-
- name: Install Cosign
66-
uses: ./
67-
with:
68-
cosign-release: 'v1.8.0'
69-
- name: Check install!
70-
run: cosign version
71-
- name: Check root directory
72-
run: |
73-
if [[ $(git diff --stat) != '' ]]; then
74-
echo 'should be clean'
75-
exit 1
76-
else
77-
exit 0
78-
fi
79-
shell: bash
64+
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
65+
- name: Install Cosign
66+
uses: ./
67+
with:
68+
cosign-release: 'v1.8.0'
69+
- name: Check install!
70+
run: cosign version
71+
- name: Check root directory
72+
run: |
73+
if [[ $(git diff --stat) != '' ]]; then
74+
echo 'should be clean'
75+
exit 1
76+
else
77+
exit 0
78+
fi
79+
shell: bash
8080

8181
test_cosign_action_0_6_0:
8282
runs-on: ${{ matrix.os }}
@@ -86,22 +86,22 @@ jobs:
8686
permissions: {}
8787
name: Install Cosign v0.6.0 and test presence in path
8888
steps:
89-
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 #v3
90-
- name: Install Cosign
91-
uses: ./
92-
with:
93-
cosign-release: 'v0.6.0'
94-
- name: Check install!
95-
run: cosign version
96-
- name: Check root directory
97-
run: |
98-
if [[ $(git diff --stat) != '' ]]; then
99-
echo 'should be clean'
100-
exit 1
101-
else
102-
exit 0
103-
fi
104-
shell: bash
89+
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
90+
- name: Install Cosign
91+
uses: ./
92+
with:
93+
cosign-release: 'v0.6.0'
94+
- name: Check install!
95+
run: cosign version
96+
- name: Check root directory
97+
run: |
98+
if [[ $(git diff --stat) != '' ]]; then
99+
echo 'should be clean'
100+
exit 1
101+
else
102+
exit 0
103+
fi
104+
shell: bash
105105

106106
test_cosign_action_0_6_0_with_pre_installed_libpcsclite1_package:
107107
# this test is specifically for linux and pcsclite1 dependencies
@@ -112,25 +112,25 @@ jobs:
112112
permissions: {}
113113
name: Install Cosign v0.6.0 and test presence in path with pre installed libpcsclite1 package
114114
steps:
115-
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 #v3
116-
- name: Install libpcsclite1
117-
run: |
118-
sudo apt-get update -q
119-
sudo apt-get install -yq libpcsclite1
120-
- name: Install Cosign
121-
uses: ./
122-
with:
123-
cosign-release: 'v0.6.0'
124-
- name: Check install!
125-
run: cosign version
126-
- name: Check root directory
127-
run: |
128-
if [[ $(git diff --stat) != '' ]]; then
129-
echo 'should be clean'
130-
exit 1
131-
else
132-
exit 0
133-
fi
115+
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
116+
- name: Install libpcsclite1
117+
run: |
118+
sudo apt-get update -q
119+
sudo apt-get install -yq libpcsclite1
120+
- name: Install Cosign
121+
uses: ./
122+
with:
123+
cosign-release: 'v0.6.0'
124+
- name: Check install!
125+
run: cosign version
126+
- name: Check root directory
127+
run: |
128+
if [[ $(git diff --stat) != '' ]]; then
129+
echo 'should be clean'
130+
exit 1
131+
else
132+
exit 0
133+
fi
134134
135135
test_cosign_action_wrong:
136136
runs-on: ${{ matrix.os }}
@@ -140,12 +140,12 @@ jobs:
140140
permissions: {}
141141
name: Try to install a wrong Cosign
142142
steps:
143-
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 #v3
144-
- name: Install Cosign
145-
uses: ./
146-
with:
147-
cosign-release: 'honk'
148-
continue-on-error: true
143+
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
144+
- name: Install Cosign
145+
uses: ./
146+
with:
147+
cosign-release: 'honk'
148+
continue-on-error: true
149149

150150
test_cosign_action_custom_dir:
151151
runs-on: ${{ matrix.os }}
@@ -155,7 +155,7 @@ jobs:
155155
permissions: {}
156156
name: Install Custom Cosign and test presence in path
157157
steps:
158-
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 #v3
158+
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
159159
- name: Install Cosign
160160
uses: ./
161161
with:
@@ -179,7 +179,7 @@ jobs:
179179
permissions: {}
180180
name: Install Custom Cosign and test presence in path with custom root dir
181181
steps:
182-
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 #v3
182+
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
183183
- name: Install Cosign
184184
uses: ./
185185
with:
@@ -205,14 +205,14 @@ jobs:
205205
go_version: ['1.18', '1.19']
206206
name: Try to install cosign with go ${{ matrix.go_version }}
207207
steps:
208-
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3
209-
- uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # v3.3.0
210-
with:
211-
go-version: ${{ matrix.go_version }}
212-
check-latest: true
213-
- name: Install Cosign
214-
uses: ./
215-
with:
216-
cosign-release: 'main'
217-
- name: Check install!
218-
run: cosign version
208+
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
209+
- uses: actions/setup-go@d0a58c1c4d2b25278816e339b944508c875f3613 # v3.4.0
210+
with:
211+
go-version: ${{ matrix.go_version }}
212+
check-latest: true
213+
- name: Install Cosign
214+
uses: ./
215+
with:
216+
cosign-release: 'main'
217+
- name: Check install!
218+
run: cosign version

0 commit comments

Comments
 (0)