Skip to content

SEC-090: Automated trusted workflow pinning (2024-10-07) #161

SEC-090: Automated trusted workflow pinning (2024-10-07)

SEC-090: Automated trusted workflow pinning (2024-10-07) #161

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@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version-file: 'go.mod'
- name: goreleaser check
continue-on-error: true
uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6.0.0
with:
args: check
- name: goreleaser build
uses: goreleaser/goreleaser-action@286f3b13b1b49da4ac219696163fb8c1c93e1200 # v6.0.0
with:
args: build --snapshot