diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6205986..95349ac 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..67bf3d3 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/.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: 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