From e8fa52c861057066177921bca147133e188c70a3 Mon Sep 17 00:00:00 2001 From: Ivan Vandot Date: Fri, 29 Sep 2023 17:20:03 +0200 Subject: [PATCH] ci: bump actions --- .github/workflows/release.yaml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index a08a7d1ce..ecb1259fc 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -11,19 +11,18 @@ jobs: goreleaser: runs-on: ubuntu-latest steps: - - name: Setup Go - uses: actions/setup-go@v1 - with: - go-version: 1.18 - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 + - name: Setup Go + uses: actions/setup-go@v3 + with: + go-version-file: go.mod - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v1 + uses: goreleaser/goreleaser-action@v4 with: version: latest - args: release --clean - key: ${{ secrets.YOUR_PRIVATE_KEY }} + args: release --clean --timeout 1h env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}