Skip to content

Commit

Permalink
Add tests for old Go versions
Browse files Browse the repository at this point in the history
Test old verions all the way back to 1.13.

Signed-off-by: SuperQ <superq@gmail.com>
  • Loading branch information
SuperQ committed Jul 5, 2023
1 parent f97607b commit 61c5cdb
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .github/workflows/main.yml
Expand Up @@ -17,3 +17,15 @@ jobs:
- run: ./.ci.gofmt.sh
- run: ./.ci.govet.sh
- run: go test -v -race ./...
test:
runs-on: ubuntu-latest
strategy:
matrix:
go_version: ["1.13", "1.14", "1.15", "1.16", "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 ./...
2 changes: 1 addition & 1 deletion go.mod
@@ -1,6 +1,6 @@
module github.com/stretchr/testify

go 1.20
go 1.13

require (
github.com/davecgh/go-spew v1.1.1
Expand Down

0 comments on commit 61c5cdb

Please sign in to comment.