You have to understand this. I don't know who you've been listening to, but they are doing you a disservice.
Using the term racism to describe actions lessons the impact that the term actually has. Racism is a cancer on society. To dilute it by ascribing it as an action, when it is actually worse only dilutes and debases the term.
A person that has racist thoughts is a racist.
An action taken by that person because of the racism is another thing all together.
You can add the term rasist in front of the other terms if you like, to differentiate them from toher forms of the same term, but they are not racism as defined by that single term.
For instance, discrimination can be done for many reasons; sex discrimination, religious discrimination and so on. To use the term more accurately when describing discrimination due to racism, you can use the term "racist discrimination" or "race discrimination." But it is not racism.
Racism is the root. The thought. The feeling. The underlying cause, but it is not an act. It can be the foundation for an action, or the reason for an action, but it is not the action itself.
That's like saying that all sex is love.
Some sex is done for purely carnal reasons. Some sex is done for love. But sex being the act is not love which is the thought or feeling.
The opposite of love is hate. One form of hate is racism. All are thought or feelings. Any actions that result from love or hate or racism are described using different words.