From 1de37b0200c940fb01f7df0a763d63797b4b3f58 Mon Sep 17 00:00:00 2001 From: Ross Light Date: Fri, 24 Feb 2023 19:22:12 -0800 Subject: [PATCH] go.mod: update minimum Go version to 1.19 --- .github/workflows/build.yml | 6 +++--- .github/workflows/publish.yml | 2 +- go.mod | 4 +++- go.sum | 2 -- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 667e22e..2ccc1eb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -45,7 +45,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: 1.15 + go-version: "1.19" - name: Check out code uses: actions/checkout@v3 - name: Install Git @@ -73,7 +73,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: 1.15 + go-version: "1.19" - name: Check out code uses: actions/checkout@v3 - name: Install Git @@ -99,7 +99,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: 1.15 + go-version: "1.19" - name: Check out code uses: actions/checkout@v3 - name: Download dependencies diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 776ceeb..0543a9d 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -26,7 +26,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: 1.15 + go-version: "1.20" - name: Fetch release from proxy run: go get -d gg-scm.io/pkg/git@"$(echo "$GITHUB_REF" | sed -e 's:^refs/tags/::')" env: diff --git a/go.mod b/go.mod index 7b5c1da..4b26cc3 100644 --- a/go.mod +++ b/go.mod @@ -14,9 +14,11 @@ module gg-scm.io/pkg/git -go 1.14 +go 1.19 require ( github.com/google/go-cmp v0.5.4 golang.org/x/sys v0.0.0-20180329131831-378d26f46672 ) + +require golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 // indirect diff --git a/go.sum b/go.sum index 3b96318..f9eecbb 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,3 @@ -github.com/google/go-cmp v0.3.0 h1:crn/baboCvb5fXaQ0IJ1SGTsTVrWpDsCWC8EGETZijY= -github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/go-cmp v0.5.4 h1:L8R9j+yAqZuZjsqh/z+F1NCffTKKLShY6zXTItVIZ8M= github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= golang.org/x/sys v0.0.0-20180329131831-378d26f46672 h1:P+cuqFpXzcxn8UtAwY33SZdbHLKsmjveBNV9V+RoYgQ=