|
|
|
@ -13,19 +13,18 @@ jobs:
|
|
|
|
|
with:
|
|
|
|
|
fetch-depth: 0
|
|
|
|
|
- run: git fetch --force --tags
|
|
|
|
|
- name: setup go
|
|
|
|
|
uses: https://github.com/actions/setup-go@v5
|
|
|
|
|
- uses: actions/setup-go@v5
|
|
|
|
|
with:
|
|
|
|
|
go-version: '>=1.20.1'
|
|
|
|
|
go-version-file: 'go.mod'
|
|
|
|
|
- name: import gpg
|
|
|
|
|
id: import_gpg
|
|
|
|
|
uses: https://github.com/crazy-max/ghaction-import-gpg@v6
|
|
|
|
|
uses: crazy-max/ghaction-import-gpg@v6
|
|
|
|
|
with:
|
|
|
|
|
gpg_private_key: ${{ secrets.GPGSIGN_KEY }}
|
|
|
|
|
passphrase: ${{ secrets.GPGSIGN_PASSPHRASE }}
|
|
|
|
|
fingerprint: CC64B1DB67ABBEECAB24B6455FC346329753F4B0
|
|
|
|
|
- name: goreleaser
|
|
|
|
|
uses: https://github.com/goreleaser/goreleaser-action@v5
|
|
|
|
|
uses: goreleaser/goreleaser-action@v5
|
|
|
|
|
with:
|
|
|
|
|
distribution: goreleaser-pro
|
|
|
|
|
version: latest
|
|
|
|
|