File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -338,50 +338,6 @@ jobs:
338338 }
339339 }
340340
341- release :
342- name : Release
343- runs-on : ubuntu-latest
344- needs : [lint, test, build]
345- if : startsWith(github.ref, 'refs/tags/v')
346- permissions :
347- contents : write
348- id-token : write
349- attestations : write
350- steps :
351- - name : Checkout code
352- uses : actions/checkout@v4
353- with :
354- fetch-depth : 0
355-
356- - name : Set up Go
357- uses : actions/setup-go@v5
358- with :
359- go-version : ${{ env.GO_VERSION }}
360- cache : true
361-
362- - name : Import GPG key
363- id : import_gpg
364- uses : crazy-max/ghaction-import-gpg@v6
365- with :
366- gpg_private_key : ${{ secrets.GPG_PRIVATE_KEY }}
367- passphrase : ${{ secrets.GPG_PASSPHRASE }}
368-
369- - name : Run GoReleaser
370- uses : goreleaser/goreleaser-action@v6
371- with :
372- version : latest
373- args : release --clean
374- env :
375- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
376- GPG_FINGERPRINT : ${{ steps.import_gpg.outputs.fingerprint }}
377-
378- - name : Generate release attestations
379- uses : actions/attest-build-provenance@v1
380- with :
381- subject-path : |
382- dist/*.zip
383- dist/*_checksums.txt
384-
385341 security-scan :
386342 name : Security Scan
387343 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments