From 5ec97dfad391ae0fcd86c8bc8a4617e190735f7a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 3 Sep 2025 15:28:52 +0000 Subject: [PATCH 1/3] Initial plan From b4308e0d2f925053d3acad147858f4a6fb3a3312 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 3 Sep 2025 15:34:05 +0000 Subject: [PATCH 2/3] Fix release pipeline - update GitHub Actions and Go versions Co-authored-by: ziflex <1607148+ziflex@users.noreply.github.com> --- .github/workflows/build.yaml | 10 +++++----- .github/workflows/release.yml | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 4b00f86..1c1f8ae 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -13,15 +13,15 @@ jobs: runs-on: ubuntu-latest steps: + - name: Check out code into the Go module directory + uses: actions/checkout@v4 + - name: Set up Go 1.x - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 with: - go-version: ^1.17 + go-version: ^1.23 id: go - - name: Check out code into the Go module directory - uses: actions/checkout@v2 - - name: Get dependencies run: | go get -v -t -d ./... diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 40af116..6c87e44 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,17 +10,17 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 with: - go-version: 1.17 + go-version: '1.23' - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v2 + uses: goreleaser/goreleaser-action@v6 with: version: latest - args: release --rm-dist + args: release --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file From 52283456974ad89a274a5a5b013ae6e7bfb73964 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 3 Sep 2025 15:45:28 +0000 Subject: [PATCH 3/3] Update .goreleaser.yml for modern GoReleaser compatibility Co-authored-by: ziflex <1607148+ziflex@users.noreply.github.com> --- .goreleaser.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 993f60d..553defa 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,5 +1,7 @@ -# This is an example goreleaser.yaml file with some sane defaults. -# Make sure to check the documentation at http://goreleaser.com +# GoReleaser configuration +# Documentation: https://goreleaser.com +version: 2 + before: hooks: - make @@ -32,7 +34,7 @@ archives: format: zip checksum: - name_template: '{{ .ProjectName }}_checksums.txt' + name_template: 'checksums.txt' snapshot: name_template: "{{ .Tag }}-next"