1. Making the workplace less hostile to that group. The code of conduct and this firing both seem to addressing this point.
2. Making sure salaries are equal for equal work. Google might have some problems in this area.
3. Investing in the hiring pipeline (education) to make sure bias isn't occurring earlier in the pipeline.
Those are just a few ideas. Someone really committed to that goal could surely find more ideas.
Create STEM schools and give kids computers in elementary school. Use more fun robotics in the classroom. Teach programming literacy. Let kids make games.
Of course the caveat to these approaches is that it takes ~13-17 years from kindergarten until high school graduation / college graduation to when the candidate can then use the skills by starting a tech job. That said, I think upstream educational opportunities like these are the best long-term solution to diversifying the tech population.
Then in a decade you'll have a much wider pool of talent to select from and can just take the best while appeasing diversity advocates.
The same could be done for racial minorities.