Skip to content

SonarQube Scanner Cache

Actions
Cache SonarQube scanner
v1
Latest
Star (0)

SonarQube Scanner Cache

Cache SonarQube scanner.

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/scanner

Example workflow

- uses: actions/checkout@v4

- uses: actions/setup-java@v4
  with:
    distribution: 'temurin'
    java-version: '17'
    cache: 'maven'

- name: Cache SonarQube packages
  uses: sonaractions/cache@v1

- name: Cache SonarQube scanner
  id: cache-sonar-scanner
  uses: sonaractions/scanner-cache@v1

- name: Install SonarQube scanner
  if: steps.cache-sonar-scanner.outputs.cache-hit != 'true'

Contributing

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

License

Licensed under the MIT License.

SonarQube Scanner Cache is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Cache SonarQube scanner
v1
Latest

SonarQube Scanner Cache is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.