diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e750801..57341c0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -27,7 +27,7 @@ jobs: go-version: ${{ matrix.go-version }} - name: Test - run: go test -race -covermode=atomic -coverprofile=coverage.out + run: GOEXPERIMENT=rangefunc go test -race -covermode=atomic -coverprofile=coverage.out - name: Upload coverage to Codecov uses: codecov/codecov-action@v3