When I press Save, it says Saved, but I cannot see in my logs that it scanned the files I uploaded. I even added an infected file, but no log or action was made.
Did you previously install ClamAV on your Server as described in the manual?
https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/antivirus_configuration.html