The BRC-NIQ shop price index showed that shop price inflation was unchanged versus May at 1.2% year-on-year in June. This was above the three-month average of 1.1%.
Meanwhile, food inflation fell to 2.4% in June from 2.7% in May, while non-food inflation increased to 0.6% from 0.5%.
Fresh food inflation dropped to 2.8% this month from 3.4% in May, while ambient food inflation edged up to 1.9% from 1.6%.
BRC chief executive Helen Dickinson said: "Overall shop price inflation was unchanged in June. Food price growth eased, and as shoppers made the most of the sunshine, retailers helped keep the prices of summer treats such as strawberries and ice cream low thanks to bumper crops and strong competition. In clothing and general merchandise, retailers responded to the hot weather with promotions across summer essentials in clothing, footwear and lighter household textiles, despite overall non-food inflation rising.
"While a competitive market is keeping inflation in check for now, retailers face mounting cost pressures, including higher National Insurance, the triple packaging tax and higher input costs from extreme weather and geopolitical tensions. To support the cost of living for households, government must reduce the costs of business. Starting with cutting the taxes and levies on energy bills would ease pressure on retailers and help keep prices down for customers."
Mike Watkins, head of retailer and business insight at NIQ, said food inflation was helped by price reductions and higher levels of promotion.
"There was also some downward pressure on prices in non-food seasonal products such as gardening and DIY, all of which will help shoppers as they manage their household budgets," he said. "With the potential for increased demand during the summer of sport, retailers will be looking to keep prices as low as possible for as long as possible."