The CDC provides information about public swimming.

There is no evidence that COVID-19 can be spread to humans through the use of recreational waters. Follow safe swimming practices along with social distancing and everyday preventative actions to protect yourself.
CDC
Considerations for Public Pools, Hot Tubs, and Water Playgrounds During COVID-19
Considerations for Public Pools, Hot Tubs, and Water Playgrounds During COVID-19 | CDC Detail here.
Swimming is safe
Public swimming pools can be safe and residential swimming pools are even safer.
#poolsafety