snapshot of https://github.com/golang-migrate/migrate.git (master, 2026-09-15; blobs > 131072B omitted)
This commit is contained in:
38
.github/workflows/release-check.yaml
vendored
Normal file
38
.github/workflows/release-check.yaml
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
name: Validate release configuration
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- ".goreleaser.yml"
|
||||
- "Dockerfile.github-actions"
|
||||
- "go.mod"
|
||||
- "go.sum"
|
||||
- ".github/workflows/ci.yaml"
|
||||
- ".github/workflows/release-check.yaml"
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
snapshot:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
persist-credentials: false
|
||||
|
||||
- uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: "1.26.x"
|
||||
|
||||
- uses: docker/setup-qemu-action@v3
|
||||
- uses: docker/setup-buildx-action@v3
|
||||
|
||||
- run: echo "SOURCE=$(make echo-source)" >> "$GITHUB_ENV"
|
||||
- run: echo "DATABASE=$(make echo-database)" >> "$GITHUB_ENV"
|
||||
|
||||
- uses: goreleaser/goreleaser-action@v5
|
||||
with:
|
||||
version: v1.26.2
|
||||
args: release --snapshot --skip-publish --clean
|
||||
Reference in New Issue
Block a user