Warning
There is an issue with deploying Semaphore using Foundry. More context here: semaphore-protocol/semaphore#185 (comment)
This is a sample Semaphore project that can be used as a template.
git clone https://github.com/vplasencia/semaphore-foundry.git
make
make build
make test
make gas-report
make snapshot
make deploy-goerli
make deploy-goerli-verify