Temporary employment in Texas

I am a permanent resident of California. I worked for three months in CA, then accepted a temporary job in Texas, where I will have worked from March thru December 2024. When I file my 2024 taxes, will I file a single federal return for both Texas and CA earnings?  I believe Texas does not have state taxes. Will my CA state taxes have to reflect that amount for state taxes that I would have paid Texas?  Thx.