From 714993cbefc0ef901e0eae0e0d9f1b8f156a393f Mon Sep 17 00:00:00 2001 From: Daniel Hess Date: Wed, 27 Dec 2023 08:38:08 -0800 Subject: [PATCH 1/2] update action and tool versions --- .github/workflows/build.yml | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 39dd073..d76cd95 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,14 +9,14 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 - name: golangci-lint - uses: golangci/golangci-lint-action@v2 + uses: golangci/golangci-lint-action@v3 with: - version: v1.29 + version: v1.54 test: name: Test @@ -26,10 +26,10 @@ jobs: - name: Install Go uses: actions/setup-go@v2 with: - go-version: 1.16 + go-version: 1.21 - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 @@ -48,10 +48,10 @@ jobs: - name: Install Go uses: actions/setup-go@v2 with: - go-version: 1.16 + go-version: 1.21 - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 @@ -63,12 +63,16 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - name: Snapshot - uses: goreleaser/goreleaser-action@v2 + uses: goreleaser/goreleaser-action@v5 with: + distribution: goreleaser + version: latest args: release --snapshot - name: Release if: startsWith(github.ref, 'refs/tags/') - uses: goreleaser/goreleaser-action@v2 + uses: goreleaser/goreleaser-action@v5 with: + distribution: goreleaser + version: latest args: release --rm-dist From 4e7cdaecd62cb0a768bfe60a27beb0400f257c9a Mon Sep 17 00:00:00 2001 From: Daniel Hess Date: Wed, 27 Dec 2023 09:27:41 -0800 Subject: [PATCH 2/2] fixing indents --- .github/workflows/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d76cd95..47eec83 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -65,14 +65,14 @@ jobs: - name: Snapshot uses: goreleaser/goreleaser-action@v5 with: - distribution: goreleaser - version: latest + distribution: goreleaser + version: latest args: release --snapshot - name: Release if: startsWith(github.ref, 'refs/tags/') uses: goreleaser/goreleaser-action@v5 with: - distribution: goreleaser - version: latest + distribution: goreleaser + version: latest args: release --rm-dist