Hi,
All interest and dividends, arising in the UK, should be declared in the Self Assessment tax return. As a non UK resident, you need to complete the SA109, residence section, to declare you are not UK resident.
You can see guidance on disregarded income here:
HS300 Non-residents and investment income (2024)
Thank you.