build(deps): bump golang.org/x/net from 0.19.0 to 0.23.0 (#101) #24
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Terraform Provider release workflow | |
name: Release | |
on: | |
push: | |
tags: | |
- "v*" | |
# releases need permissions to read and write the repository contents | |
permissions: | |
contents: write | |
jobs: | |
# run acceptance tests | |
tests: | |
uses: ./.github/workflows/testacc.yaml | |
goreleaser: | |
# require tests to pass | |
needs: [tests] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
# allow goreleaser to access older tag information | |
fetch-depth: 0 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version-file: "go.mod" | |
cache: true | |
- name: Import GPG key | |
uses: crazy-max/[email protected] | |
id: import_gpg | |
with: | |
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} | |
passphrase: ${{ secrets.PASSPHRASE }} | |
- name: Run GoReleaser | |
uses: goreleaser/[email protected] | |
with: | |
args: release --clean | |
env: | |
# GitHub sets the GITHUB_TOKEN secret automatically | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }} |