Global and local aspects of spectral actions