.github/workflows/test-release.yaml
raw| 1 | name: Test Release |
| 2 | |
| 3 | on: |
| 4 | workflow_dispatch: |
| 5 | |
| 6 | permissions: |
| 7 | contents: read |
| 8 | |
| 9 | jobs: |
| 10 | goreleaser: |
| 11 | runs-on: ubuntu-latest |
| 12 | steps: |
| 13 | - name: Checkout |
| 14 | uses: actions/checkout@v4 |
| 15 | with: |
| 16 | fetch-depth: 0 |
| 17 | |
| 18 | - name: Set up Go |
| 19 | uses: actions/setup-go@v6 |
| 20 | with: |
| 21 | go-version-file: "go.mod" |
| 22 | |
| 23 | - name: Run GoReleaser (dry run) |
| 24 | uses: goreleaser/goreleaser-action@v6 |
| 25 | with: |
| 26 | args: release --clean --snapshot --skip=publish |