diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 997ead1..c5950cc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,7 +15,7 @@ jobs: with: fetch-depth: 0 - - name: Set up Go 1.21 + - name: Set up Go uses: actions/setup-go@v5 with: go-version: '1.21' @@ -28,7 +28,7 @@ jobs: - name: Run GoReleaser uses: goreleaser/goreleaser-action@v6 with: - version: latest + version: '~> v2' args: release --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/.goreleaser.yml b/.goreleaser.yml index d26815c..fde07f4 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -51,7 +51,7 @@ archives: wrap_in_directory: true before: hooks: - - go mod tidy + - cd backend && go mod tidy # Release Configuration release: