goldfish are cold water fish, water temp should be in the range of 65-75 degrees
you can also help cool down the tank, you can open the lid of the tank and run a fan facing the opening of the tank to help push out the heat
maybe try a different cheap tropical test fish, goldfish wont be good...