Cache SonarQube packages.
Create a workflow .yml
file in your repositories .github/workflows
directory. For more information, reference the GitHub Help Documentation for Creating a workflow file.
This action currently caches the following directory:
~/.sonar/cache
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
cache: 'maven'
- uses: sonaractions/cache@v1
- uses: sonarsource/sonarqube-scan-action@v2
Check out Contributing guide for ideas on contributing and setup steps for getting our repositories up.
Licensed under the MIT License.