Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify the need for Java #31

Open
adangel opened this issue Dec 17, 2021 · 0 comments
Open

Clarify the need for Java #31

adangel opened this issue Dec 17, 2021 · 0 comments
Labels
documentation Improvements or additions to documentation help wanted Extra attention is needed

Comments

@adangel
Copy link
Member

adangel commented Dec 17, 2021

This action calls PMD and PMD requires a Java runtime for execution.
In the README.md the following basic configuration is suggested:

steps:
  - uses: actions/setup-java@v2
    with:
      distribution: 'temurin'
      java-version: '11'
  - uses: pmd/pmd-github-action@v1
    with:
      rulesets: 'ruleset.xml'

However, the "actions/setup-java" step is not really necessary, since Java is one of the pre-installed tools in the runners. See https://github.com/actions/virtual-environments/ and more specifically https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu2004-README.md#java
This is available under all operating systems.

@adangel adangel added documentation Improvements or additions to documentation help wanted Extra attention is needed labels Dec 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant