Skip to content

Commit

Permalink
Merge pull request thamdub#3 from aeirola/update-github-actions
Browse files Browse the repository at this point in the history
Update github actions to match scaffolding
  • Loading branch information
aeirola authored Jun 30, 2021
2 parents ab9168a + eb437f9 commit c7d2525
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v2.3.4
-
name: Unshallow
run: git fetch --prune --unshallow
Expand All @@ -23,7 +23,7 @@ jobs:
run: make test
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
uses: goreleaser/goreleaser-action@v2.5.0
with:
version: latest
args: release --rm-dist --skip-sign --skip-publish
8 changes: 3 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v2.3.4
-
name: Unshallow
run: git fetch --prune --unshallow
Expand All @@ -32,16 +32,14 @@ jobs:
-
name: Import GPG key
id: import_gpg
# TODO: move this to HashiCorp namespace or find alternative that is just simple gpg commands
# see https://github.com/hashicorp/terraform-provider-scaffolding/issues/22
uses: paultyng/ghaction-import-gpg@v2.1.0
uses: hashicorp/ghaction-import-gpg@v2.1.0
env:
# These secrets will need to be configured for the repository:
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
PASSPHRASE: ${{ secrets.PASSPHRASE }}
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
uses: goreleaser/goreleaser-action@v2.5.0
with:
version: latest
args: release --rm-dist
Expand Down

0 comments on commit c7d2525

Please sign in to comment.