Do not squirt in the animal's eyes. Try putting your dog in a crate when you are gone. Do not crate the dog for more than four hours at a time. Call for more details. They try to cool themselves by lying in the holes they dig.
Most problem digging is the result of boredom or lack of exercise.
This frequently discourages the animal from digging in that area again. Build a digging area or dog run and encourage the dog to dig only there. Provide plenty of exercise and attention for the dog. Sprinkle a mixture of hot spices in the dirt where the dog digs. This make the animal sneeze.