Skip to content

mod action

mod action #40

name: "snyk test"
# on: push
on:
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: snyk/actions/setup@master
- name: Snyk Test
# run: snyk test --sarif-file-output=snyk-sarif.json
run: snyk test
continue-on-error: true
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
# - name: Upload SARIF file
# uses: github/codeql-action/upload-sarif@v3
# with:
# sarif_file: snyk-sarif.json