diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 08e548c07..0ffd24cb3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -6,7 +6,9 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - go_version: ["1.20", "1.19"] + go_version: + - "1.19" + - "1.20" steps: - uses: actions/checkout@v3 - name: Setup Go @@ -17,3 +19,19 @@ jobs: - run: ./.ci.gofmt.sh - run: ./.ci.govet.sh - run: go test -v -race ./... + test: + runs-on: ubuntu-latest + strategy: + matrix: + go_version: + - "1.17" + - "1.18" + - "1.19" + - "1.20" + steps: + - uses: actions/checkout@v3 + - name: Setup Go + uses: actions/setup-go@v3.2.0 + with: + go-version: ${{ matrix.go_version }} + - run: go test -v -race ./... diff --git a/README.md b/README.md index 2c8918834..a90de3cb9 100644 --- a/README.md +++ b/README.md @@ -350,7 +350,7 @@ To update Testify to the latest version, use `go get -u github.com/stretchr/test Supported go versions ================== -We currently support the most recent major Go versions from 1.19 onward. +We currently support the most recent major Go versions from 1.17 onward. ------ diff --git a/go.mod b/go.mod index 60d69a8ea..d3c4d723b 100644 --- a/go.mod +++ b/go.mod @@ -2,7 +2,7 @@ module github.com/stretchr/testify // This should match the minimum supported version that is tested in // .github/workflows/main.yml -go 1.19 +go 1.17 require ( github.com/davecgh/go-spew v1.1.1