All the state equations are applied for the reversible and adiabatic process. These process are definitely irreversible processes. So the temperature increase will be explained by other reason.
That's true, but you are missing fineprint and you apply 'process is reversible, pV=nRT doesn't hold' blindly.
If you compress the air adiabatically it will get hot. On the second end of theoretical possibilities if you compress air slow enough that all heat will be exchanged with the surroundings, it will not change temperature.
Reality is all things in between. Just because process is not adiabtic DOESN'T mean that air won't get hot. It will get hot when compressed, just a little bit less. pV=nRT tells you upper limit - and it tells you that in this case air gets hot just because it was compressed.
pV=nRT for irreversible process doesn't allow for exact calculation of the air temperature change, but it still allows you to tell that it will never get hotter then upper limit and that if air is compressed 8 times (from 1 atm to 8 atm, which is pressure commonly used in tanks) it may end up hot as hell.