From 1a9db7c00e4f89f80368893b92efefee59d60064 Mon Sep 17 00:00:00 2001 From: Adriano Caloiaro Date: Tue, 7 Mar 2023 09:49:30 -0700 Subject: [PATCH] Disable go mod tidy goreleaser hook --- .github/workflows/goreleaser.yml | 16 +++++++++------- .goreleaser.yaml | 5 ----- 2 files changed, 9 insertions(+), 12 deletions(-) diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index 0705616..e62e438 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -9,21 +9,23 @@ jobs: goreleaser: runs-on: ubuntu-latest steps: - - name: Checkout - uses: actions/checkout@v2 + - + name: Checkout + uses: actions/checkout@v3 with: fetch-depth: 0 - - name: Bump version and push tag + - + name: Bump version and push tag uses: anothrNick/github-tag-action@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} WITH_V: true DEFAULT_BUMP: patch - - name: Set up Go + - + name: Set up Go uses: actions/setup-go@v3 - with: - go-version: 1.20 - - name: Run GoReleaser + - + name: Run GoReleaser uses: goreleaser/goreleaser-action@v4 with: # either 'goreleaser' (default) or 'goreleaser-pro' diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 4d0ba97..5a17771 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -1,8 +1,3 @@ -# This is an example .goreleaser.yml file with some sensible defaults. -# Make sure to check the documentation at https://goreleaser.com -before: - hooks: - - go mod tidy builds: - env: - CGO_ENABLED=0