Bump nanoid from 3.3.7 to 3.3.8 in /projects/mercury #757
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
name: Workflow for Gradle using Snyk | |
on: | |
push: | |
branches: | |
- dev | |
- release | |
pull_request: | |
# The branches below must be a subset of the branches above | |
branches: [ dev, release ] | |
schedule: | |
- cron: '0 2 * * 1' | |
jobs: | |
security: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: Set up JDK 21 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '21' | |
distribution: 'temurin' | |
- name: Install Snyk | |
run: | | |
echo "JAVA VERSION " | |
java --version | |
npm install -g snyk | |
snyk --version | |
- name: Run Snyk to check for vulnerabilities | |
env: | |
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} | |
run: | | |
snyk test --all-projects --severity-threshold=critical --fail-on=all -d |