File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -209,6 +209,9 @@ jobs:
209209 with :
210210 persist-credentials : false
211211
212+ - name : Install Cosign
213+ uses : sigstore/cosign-installer@cad07c2e89fa2edd6e2d7bab4c1aa38e53f76003 # v4.1.1
214+
212215 - name : Smoke published GitHub release artifacts
213216 env :
214217 GH_TOKEN : ${{ github.token }}
Original file line number Diff line number Diff line change @@ -33,6 +33,10 @@ grep -q "x86_64-apple-darwin" "${repo_root}/.github/workflows/release.yml"
3333grep -q ' NIGHTWARD_VERSION="${version}"' " ${repo_root} /.github/workflows/release.yml"
3434grep -q " dist/nightward_\\ *.tar.gz" " ${repo_root} /.github/workflows/release.yml"
3535grep -q " dist/nightward_\\ *.zip" " ${repo_root} /.github/workflows/release.yml"
36+ if [[ " $( grep -c " sigstore/cosign-installer" " ${repo_root} /.github/workflows/release.yml" ) " -lt 2 ]]; then
37+ echo " expected release publish and smoke jobs to install cosign" >&2
38+ exit 1
39+ fi
3640if grep -q " path: dist/nightward_\\ *" " ${repo_root} /.github/workflows/release.yml" ; then
3741 echo " expected release upload to exclude staging directories" >&2
3842 exit 1
You can’t perform that action at this time.
0 commit comments