quite a while since I was there, about 20 years, but even then there was fighting in the north. The FO advised people to stick to the south, so I did, getting to Anuradhupura but not to Trincomalee. There was virtually no tourism going on; I had a whole hotel in Bentota to myself, literally. Downside: no cooks. The receptionist made me toasted sandwiches. But it's a lovely country.
But if all you want are golden beaches, you'd probably do just as well somewhere like the Maldives or Seychelles.