Skip to content

docs: Initial handover document #85

docs: Initial handover document

docs: Initial handover document #85

name: PR Code Validation
on:
pull_request:
types:
- opened
- synchronize
- reopened
jobs:
validate_code:
name: Validate Code
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/[email protected]
with:
dotnet-version: "7.x.x"
- name: Restore dependencies
run: dotnet restore -r linux-x64 IntoRdf.sln
- name: Build Solution
run: dotnet build /p:TreatWarningsAsErrors="true" --no-restore --configuration Release IntoRdf.sln
- name: Tests
run: dotnet test --no-restore --no-build --configuration Release IntoRdf.sln
snyk-test:
name: 🐩 Snyk Security Scan
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Snyk
uses: snyk/actions/setup@master
- name: Authenticator
run: snyk auth ${{ secrets.SNYK_TOKEN }}
- name: Dotnet restore
run: dotnet restore
- name: Test dependencies for known issues
run: snyk test --all-projects --exclude=IntoRdf.Tests