Skip to content

Commit

Permalink
/deploy sit
Browse files Browse the repository at this point in the history
  • Loading branch information
sliu008 committed Jan 21, 2025
1 parent bd82adf commit 044ab91
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ jobs:

- name: Setup Gradle
uses: gradle/gradle-build-action@v3
with:
gradle-version: 6.3

#########################################################################
# Versioning (featuring weird gradle output work-arounds)
Expand Down Expand Up @@ -271,17 +273,16 @@ jobs:
# --fail-on=all

- name: Run Snyk as a blocking step
uses: snyk/actions/gradle@master
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
JAVA_HOME: /usr/lib/jvm/default-java/
with:
command: test
args:
--org=${{ secrets.SNYK_ORG_ID }}
--project-name=${{ github.repository }}
--severity-threshold=high
--fail-on=all
uses: snyk/actions/gradle@master
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
JAVA_HOME: /usr/lib/jvm/default-java/
with:
args:
--org=${{ secrets.SNYK_ORG_ID }}
--project-name=${{ github.repository }}
--severity-threshold=high
--fail-on=all

- name: Test and coverage
run: |
Expand Down

0 comments on commit 044ab91

Please sign in to comment.