Skip to content

fix: resources deleted outside Terraform not re-created #183

fix: resources deleted outside Terraform not re-created

fix: resources deleted outside Terraform not re-created #183

Workflow file for this run

---
on: [pull_request]
jobs:
goreleaser:
name: "Release"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version-file: 'go.mod'
cache: true
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v3
with:
version: latest
args: build --snapshot
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Run go generate
run: go generate
- name: Check differences after go generate
run: |
git diff --compact-summary --exit-code || \
(echo; echo "Unexpected difference in directories after code generation. Run 'go generate' command and commit."; exit 1)