diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 6dc2b9b..a430613 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -11,18 +11,26 @@ on: jobs: - build: + checkout: runs-on: ubuntu-latest - steps: - name: Checkout uses: actions/checkout@v4 + with: + fetch-tags: 1 + setup: + runs-on: ubuntu-latest + steps: - name: Set up Go uses: actions/setup-go@v4 with: go-version: '1.21' + build: + runs-on: ubuntu-latest + + steps: - name: Release with goreleaser uses: goreleaser/goreleaser-action@v5.0.0 env: