WASHINGTON – The U.S. economy expanded modestly in June and early July, but growth and hiring slowed in several parts of the country, according to a Federal Reserve survey released Wednesday.

The survey said three of the Fed’s 12 banking districts — New York, Philadelphia and Cleveland — reported weaker growth. A fourth, Richmond, reported that economic activity was mixed.

That’s a shift from the Fed’s previous survey, which noted that growth had picked up in 10 districts from mid-April through May.

Hiring was “tepid” in most districts in June and early July. Retail sales slowed in Boston, Cleveland and New York, and manufacturing weakened in most regions.

One positive sign: All 12 districts reported gains in housing.