Yes, the government is doing enough to ensure that human rights are protected. There have been a lot of movements to protect human rights. The government is creating laws in connection with it. On the other hand, those people whose rights have been violated can seek the help of the government as well.
It depends on the government that you refer to. If you are talking about the United States, the answer is that the government is not doing enough to protect human rights both at home and abroad.
According to the 2019 World Report of Human Rights Watch, the United States moved backwards in terms of human rights during the past year. The report indicates that the government was unwilling to do anything about the problem of over-incarceration, and that it undermined a national insurance program intended to provide affordable health care. Moreover, many inhumane anti-immigration policies were implemented. Finally, the government continued to support abusive governments abroad.