diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 24eea09..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: "1.19" + go-version-file: 'action/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 "$@"