Skip to content

Commit

Permalink
🔧 Update action configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurmfnsc committed Apr 12, 2024
1 parent a4b5e36 commit d49dbb5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/contrast-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,14 @@ jobs:
# -name: Build Project
# ...
# Scan Artifact
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
cache: 'gradle'
- name: Build
run: ./gradlew build -x test
- name: Contrast Scan Action
uses: Contrast-Security-OSS/[email protected]
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pmd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 22
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '22'
java-version: '21'
distribution: 'temurin'
- uses: pmd/pmd-github-action@v2
with:
Expand Down

0 comments on commit d49dbb5

Please sign in to comment.