docs: Initial handover document #85
Workflow file for this run
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: 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 |