An example of Java project to be analyzed with SonarQube and with SonarCloud from GitHub Actions
An example of Chapter Code Quality of the book
Test-Driven Development, Build Automation, Continuous Integration (with Java, Eclipse and friends) by Lorenzo Bettini.
See https://github.com/LorenzoBettini/tdd-buildautomation-ci-book-examples for the list of all the examples.