diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 38cff386..af91c8ab 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -7,7 +7,7 @@ jobs: strategy: matrix: os: [macOS-latest, ubuntu-latest] - goversion: [1.17, 1.18, '1.19'] + goversion: [1.17, 1.18, '1.19', '1.20'] steps: - name: Set up Go ${{matrix.goversion}} on ${{matrix.os}} uses: actions/setup-go@v3 @@ -19,7 +19,7 @@ jobs: uses: actions/checkout@v1 - name: gofmt - if: ${{matrix.goversion == '1.19'}} + if: ${{matrix.goversion == '1.20'}} run: | [[ -z $(gofmt -l $(find . -name '*.go') ) ]] @@ -43,9 +43,9 @@ jobs: GO111MODULE: on run: go test -race -mod=readonly -count 2 ./... - # Run all consistenthash Fuzz tests for 30s with go 1.19 + # Run all consistenthash Fuzz tests for 30s with go 1.20 - name: Fuzz Consistent-Hash - if: ${{matrix.goversion == '1.19'}} + if: ${{matrix.goversion == '1.20'}} env: GO111MODULE: on run: go test -fuzz=. -fuzztime=30s ./consistenthash