State and local government job growth boosted the U.S. labor market in June.