From b92f691375b490df31f62cbf82fff8bcf2b70547 Mon Sep 17 00:00:00 2001 From: Jacob Gillespie Date: Fri, 9 Jun 2023 17:44:08 +0100 Subject: [PATCH 1/3] Build with Go 1.20 --- .github/workflows/ci.yml | 6 +++--- .github/workflows/release.yml | 6 +++--- go.mod | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6205986..a1bb49c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,15 +4,15 @@ on: push jobs: build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 with: fetch-depth: 0 - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v4 with: - go-version: 1.17 + go-version: 1.20 - run: go mod tidy - run: go build diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 25b1124..d9c61cc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,15 +10,15 @@ permissions: jobs: release: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 with: fetch-depth: 0 - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v4 with: - go-version: 1.17 + go-version: 1.20 - uses: goreleaser/goreleaser-action@v4 with: diff --git a/go.mod b/go.mod index fa1d68d..1a2a682 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ module github.com/jacobwgillespie/git-sync -go 1.17 +go 1.20 From 8a1eb8eea1293350d1ae8f0b638d873b2fe98221 Mon Sep 17 00:00:00 2001 From: Jacob Gillespie Date: Fri, 9 Jun 2023 17:44:56 +0100 Subject: [PATCH 2/3] Fix YAML quoting --- .github/workflows/ci.yml | 2 +- .github/workflows/release.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a1bb49c..95349ac 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ jobs: - uses: actions/setup-go@v4 with: - go-version: 1.20 + go-version: "1.20" - run: go mod tidy - run: go build diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d9c61cc..67bf3d3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,7 +18,7 @@ jobs: - uses: actions/setup-go@v4 with: - go-version: 1.20 + go-version: "1.20" - uses: goreleaser/goreleaser-action@v4 with: From 35b3c93a6c6d51fea671a1901f7cbe234ade630a Mon Sep 17 00:00:00 2001 From: Jacob Gillespie Date: Fri, 9 Jun 2023 17:47:08 +0100 Subject: [PATCH 3/3] Remove deprecated config --- .goreleaser.yml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index c2fc83b..6f993c7 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -8,13 +8,6 @@ builds: - linux - windows - darwin -archives: - - replacements: - darwin: Darwin - linux: Linux - windows: Windows - 386: i386 - amd64: x86_64 checksum: name_template: "checksums.txt" snapshot: