Skip to content

🐩 Snyk Test & Monitor #198

🐩 Snyk Test & Monitor

🐩 Snyk Test & Monitor #198

Workflow file for this run

name: 🐩 Snyk Test & Monitor
on:
schedule:
# At 06:00 on every 3rd day
- cron: "0 6 */3 * *"
workflow_dispatch:
jobs:
test-and-monitor:
if: ${{ github.ref == 'refs/heads/main' }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Snyk
uses: snyk/actions/setup@master
- name: Authenticate
run: snyk auth ${{ secrets.SNYK_TOKEN }}
- name: Dotnet restore
run: dotnet restore
- name: Update IntoRdf snapshot at Snyk.io
continue-on-error: true
working-directory: IntoRdf/obj
run: snyk monitor --project-name=IntoRdf
- name: Update IntoRdf.Cli snapshot at Snyk.io
continue-on-error: true
working-directory: IntoRdf.Cli/obj
run: snyk monitor --project-name=IntoRdf.Cli
- name: Test dependencies for known issues
run: snyk test --all-projects --exclude=IntoRdf.Tests