The federal government Wednesday sued Walgreen Co., alleging widespread racial bias against thousands of black workers throughout the nation’s largest drugstore chain.

The U.S. Equal Employment Opportunity Commission alleged in a class action lawsuit that Walgreens, based in Deerfield, Ill., makes decisions about employee assignment and promotion based on race.