Skip to content

sonaractions/cache

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SonarQube Cache

Cache SonarQube packages.

LICENSE GitHub stars

Usage

Pre-requisites

Create a workflow .yml file in your repositories .github/workflows directory. For more information, reference the GitHub Help Documentation for Creating a workflow file.

Cache Details

This action currently caches the following directory:

  • ~/.sonar/cache

Example workflow

- 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

Contributing

Check out Contributing guide for ideas on contributing and setup steps for getting our repositories up.

License

Licensed under the MIT License.