Skip to content

docs(readme): behavior accuracy, dry-run note, config vs registry locking #39

docs(readme): behavior accuracy, dry-run note, config vs registry locking

docs(readme): behavior accuracy, dry-run note, config vs registry locking #39

name: Release Config Validation
on:
push:
branches: ["main"]
pull_request:
branches: ["**"]
permissions:
contents: read
jobs:
goreleaser-config:
name: Validate GoReleaser Configs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: true
- uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: "~> v2"
args: check --config .goreleaser.yaml
- uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: "~> v2"
args: check --config .goreleaser.stable.yaml