ci: replace forked GH action with latest upstream (#55)

This commit is contained in:
Radek Simko 2022-07-15 20:09:45 +01:00 committed by GitHub
parent 2e1802df3b
commit 3a91275abc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,17 +25,12 @@ jobs:
with: with:
go-version-file: 'go.mod' go-version-file: 'go.mod'
cache: true cache: true
# This uses an action (hashicorp/ghaction-import-gpg) that assumes you set your
# private key in the `GPG_PRIVATE_KEY` secret and passphrase in the `PASSPHRASE`
# secret. If you would rather own your own GPG handling, please fork this action
# or use an alternative one for key handling.
- name: Import GPG key - name: Import GPG key
uses: crazy-max/ghaction-import-gpg@v5
id: import_gpg id: import_gpg
uses: hashicorp/ghaction-import-gpg@v2.1.0 with:
env: gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
# These secrets will need to be configured for the repository: passphrase: ${{ secrets.PASSPHRASE }}
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
PASSPHRASE: ${{ secrets.PASSPHRASE }}
- name: Run GoReleaser - name: Run GoReleaser
uses: goreleaser/goreleaser-action@v3 uses: goreleaser/goreleaser-action@v3
with: with: