Skip to content

terraform fmt

terraform fmt #62

Workflow file for this run

name: release
on:
push:
tags:
- "*"
defaults:
run:
working-directory: ./v2
permissions:
contents: read
jobs:
goreleaser:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Harden Runner
uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09
with:
egress-policy: block
allowed-endpoints: >
api.github.com:443
github.com:443
goreleaser.com:443
objects.githubusercontent.com:443
proxy.golang.org:443
storage.googleapis.com:443
uploads.github.com:443
sum.golang.org:443
*.actions.githubusercontent.com:443
go.dev:443
golang.org:443
- name: Checkout
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753
with:
go-version: 1.18
- name: Run GoReleaser
timeout-minutes: 60
uses: goreleaser/goreleaser-action@336e29918d653399e599bfca99fadc1d7ffbc9f7
with:
distribution: goreleaser
version: latest
args: release --clean --config ../.goreleaser.yaml
workdir: ./v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}