Skip to content

SEC-090: Automated trusted workflow pinning (2024-05-27) #147

SEC-090: Automated trusted workflow pinning (2024-05-27)

SEC-090: Automated trusted workflow pinning (2024-05-27) #147

name: "Terraform Provider Checks"
on:
pull_request:
paths:
- .github/workflows/terraform-provider-checks.yml
- .goreleaser.yml
- internal/**
- main.go
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version-file: 'go.mod'
- name: goreleaser check
continue-on-error: true
uses: goreleaser/goreleaser-action@5742e2a039330cbb23ebf35f046f814d4c6ff811 # v5.1.0
with:
args: check
- name: goreleaser build
uses: goreleaser/goreleaser-action@5742e2a039330cbb23ebf35f046f814d4c6ff811 # v5.1.0
with:
args: build --snapshot