File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8282
8383 - uses : goreleaser/goreleaser-action@v5
8484 with :
85- version : latest
85+ version : v1.26.2
8686 args : release --clean
8787 env :
8888 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1+ name : Validate release configuration
2+
3+ on :
4+ pull_request :
5+ paths :
6+ - " .goreleaser.yml"
7+ - " Dockerfile.github-actions"
8+ - " go.mod"
9+ - " go.sum"
10+ - " .github/workflows/ci.yaml"
11+ - " .github/workflows/release-check.yaml"
12+
13+ permissions :
14+ contents : read
15+
16+ jobs :
17+ snapshot :
18+ runs-on : ubuntu-latest
19+ steps :
20+ - uses : actions/checkout@v4
21+ with :
22+ fetch-depth : 0
23+ persist-credentials : false
24+
25+ - uses : actions/setup-go@v5
26+ with :
27+ go-version : " 1.26.x"
28+
29+ - uses : docker/setup-qemu-action@v3
30+ - uses : docker/setup-buildx-action@v3
31+
32+ - run : echo "SOURCE=$(make echo-source)" >> "$GITHUB_ENV"
33+ - run : echo "DATABASE=$(make echo-database)" >> "$GITHUB_ENV"
34+
35+ - uses : goreleaser/goreleaser-action@v5
36+ with :
37+ version : v1.26.2
38+ args : release --snapshot --skip-publish --clean
Original file line number Diff line number Diff line change @@ -16,6 +16,13 @@ builds:
1616 - 386
1717 goarm :
1818 - 7
19+ ignore :
20+ - goos : windows
21+ goarch : arm
22+ - goos : darwin
23+ goarch : arm
24+ - goos : darwin
25+ goarch : 386
1926 main : ./cmd/migrate
2027 ldflags :
2128 - ' -w -s -X main.Version={{ .Version }} -extldflags "static"'
You can’t perform that action at this time.
0 commit comments