From edf586bbc5ae3ca96bf7fd50d024f956481aca08 Mon Sep 17 00:00:00 2001 From: ICHINOSE Shogo Date: Wed, 26 Apr 2023 21:32:32 +0900 Subject: [PATCH 1/2] bump Go 1.20 --- .github/workflows/test.yml | 7 ++++--- go.mod | 2 +- run-in-docker.sh | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 24eea09..39c892f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -22,7 +22,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v4 with: - go-version: "1.19" + go-version-file: 'go.mod' - run: go version - name: Set up the action @@ -52,8 +52,9 @@ jobs: - macos-latest - windows-latest go: - - "1.11" # first version that supports go modules - - "1.x" # latest version + - "1.11" # minumum version goveralls supports + - "oldstable" + - "stable" runs-on: ${{ matrix.os }} steps: diff --git a/go.mod b/go.mod index 17ed568..c54ea6e 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/shogo82148/actions-goveralls -go 1.19 +go 1.20 require github.com/mattn/goveralls v0.0.11 diff --git a/run-in-docker.sh b/run-in-docker.sh index 1886aa8..6b02dbd 100755 --- a/run-in-docker.sh +++ b/run-in-docker.sh @@ -8,4 +8,4 @@ docker run --rm \ -v actions-goveralls-cache:/go/pkg/mod \ -v actions-goveralls-cache:/root/.cache \ -v "$CURRENT":/go/src/github.com/shogo82148/actions-goveralls \ - -w /go/src/github.com/shogo82148/actions-goveralls golang:1.19.2 "$@" + -w /go/src/github.com/shogo82148/actions-goveralls golang:1.20.3 "$@" From 2e186e74ee07e43c04480871e65bd14843789a53 Mon Sep 17 00:00:00 2001 From: ICHINOSE Shogo Date: Wed, 26 Apr 2023 21:35:14 +0900 Subject: [PATCH 2/2] fix the path for go.mod --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 39c892f..25d7d52 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -22,7 +22,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v4 with: - go-version-file: 'go.mod' + go-version-file: 'action/go.mod' - run: go version - name: Set up the action