-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Review Picnic's refaster rule suggestions
- Loading branch information
Showing
78 changed files
with
157 additions
and
268 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
java: [ 11, 18 ] | ||
java: [ 11, 19 ] | ||
env: | ||
JAVA_VERSION: ${{ matrix.java }} | ||
steps: | ||
|
@@ -20,27 +20,11 @@ jobs: | |
with: | ||
egress-policy: audit | ||
- uses: actions/checkout@v3 | ||
- name: Set up JDK ${{ matrix.java }} | ||
uses: Wandalen/[email protected] | ||
timeout-minutes: 5 | ||
with: | ||
action: actions/setup-java@v3 | ||
with: | | ||
distribution: temurin | ||
java-version: ${{ matrix.java }} | ||
attempt_limit: 3 | ||
attempt_delay: 2000 | ||
- name: Setup Gradle | ||
uses: Wandalen/[email protected] | ||
timeout-minutes: 5 | ||
with: | ||
action: gradle/gradle-build-action@v2 | ||
with: | | ||
cache-read-only: false | ||
generate-job-summary: false | ||
arguments: help --daemon --no-scan | ||
gradle-home-cache-strict-match: true | ||
attempt_limit: 3 | ||
attempt_delay: 2000 | ||
- name: Run analyzers | ||
run: ./.github/scripts/analyze.sh | ||
uses: ./.github/actions/run-gradle | ||
with: | ||
early-access: false | ||
java: ${{ matrix.java }} | ||
arguments: > | ||
pmdJavaPoet pmdMain pmdCodeGen pmdJmh -Dpmd | ||
spotbugsJavaPoet spotbugsMain spotbugsCodeGen spotbugsJmh -Dspotbugs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ permissions: read-all | |
env: | ||
GRADLE_ENTERPRISE_CACHE_PASSWORD: ${{ secrets.GRADLE_ENTERPRISE_CACHE_PASSWORD }} | ||
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }} | ||
JAVA_VERSION: 18 | ||
JAVA_VERSION: 19 | ||
|
||
jobs: | ||
dependency-check: | ||
|
@@ -24,31 +24,12 @@ jobs: | |
with: | ||
egress-policy: audit | ||
- uses: actions/checkout@v3 | ||
- name: Set up JDK ${{ env.JAVA_VERSION }} | ||
uses: Wandalen/[email protected] | ||
timeout-minutes: 5 | ||
with: | ||
action: actions/setup-java@v3 | ||
with: | | ||
cache: gradle | ||
distribution: temurin | ||
java-version: ${{ env.JAVA_VERSION }} | ||
attempt_limit: 3 | ||
attempt_delay: 2000 | ||
- name: Setup Gradle | ||
uses: Wandalen/[email protected] | ||
timeout-minutes: 5 | ||
with: | ||
action: gradle/gradle-build-action@v2 | ||
with: | | ||
cache-read-only: false | ||
arguments: help --no-scan | ||
generate-job-summary: false | ||
attempt_limit: 3 | ||
attempt_delay: 2000 | ||
- name: Run dependency-check | ||
run: ./gradlew dependencyCheckAggregate | ||
continue-on-error: true | ||
uses: ./.github/actions/run-gradle | ||
with: | ||
early-access: false | ||
java: ${{ env.JAVA_VERSION }} | ||
arguments: dependencyCheckAggregate | ||
- name: Upload result to GitHub Code Scanning | ||
uses: github/codeql-action/upload-sarif@v2 | ||
continue-on-error: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ permissions: read-all | |
env: | ||
GRADLE_ENTERPRISE_CACHE_PASSWORD: ${{ secrets.GRADLE_ENTERPRISE_CACHE_PASSWORD }} | ||
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }} | ||
JAVA_VERSION: 18 | ||
JAVA_VERSION: 19 | ||
|
||
jobs: | ||
snyke: | ||
|
@@ -24,35 +24,22 @@ jobs: | |
with: | ||
egress-policy: audit | ||
- uses: actions/checkout@v3 | ||
- name: Set up JDK ${{ env.JAVA_VERSION }} | ||
uses: Wandalen/[email protected] | ||
timeout-minutes: 5 | ||
with: | ||
action: actions/setup-java@v3 | ||
with: | | ||
distribution: temurin | ||
java-version: ${{ env.JAVA_VERSION }} | ||
attempt_limit: 3 | ||
attempt_delay: 2000 | ||
- name: Setup Gradle | ||
uses: Wandalen/[email protected] | ||
timeout-minutes: 5 | ||
with: | ||
action: gradle/gradle-build-action@v2 | ||
with: | | ||
cache-read-only: false | ||
arguments: help --no-scan | ||
generate-job-summary: false | ||
attempt_limit: 3 | ||
attempt_delay: 2000 | ||
- name: Run Snyk test | ||
uses: ./.github/actions/run-gradle | ||
continue-on-error: true | ||
run: ./gradlew snyk-test -PsnykArgs="--sarif-file-output=snyk.sarif" | ||
with: | ||
early-access: false | ||
java: ${{ env.JAVA_VERSION }} | ||
arguments: snyk-test -PsnykArgs="--sarif-file-output=snyk.sarif" | ||
- name: Upload result to GitHub Code Scanning | ||
uses: github/codeql-action/upload-sarif@v2 | ||
continue-on-error: true | ||
with: | ||
sarif_file: snyk.sarif | ||
- name: Run Snyk monitor | ||
uses: ./.github/actions/run-gradle | ||
continue-on-error: true | ||
run: ./gradlew snyk-monitor | ||
with: | ||
early-access: false | ||
java: ${{ env.JAVA_VERSION }} | ||
arguments: snyk-monitor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.