Files
v2dat/.github/workflows/ci.yml
kunish e1ed62cca9
Some checks failed
CI / goreleaser (push) Has been cancelled
fix: correct indentation for fetch-depth in CI workflow
2025-10-07 11:12:04 +08:00

32 lines
543 B
YAML

name: CI
on:
workflow_dispatch:
push:
branches:
- main
permissions:
contents: write
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- uses: actions/setup-go@v6
with:
go-version: stable
- uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: latest
args: release --clean --snapshot
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}