fix: Change PO to Olaf in readme #365
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: 'π Code Quality' | |
on: | |
workflow_dispatch: | |
workflow_call: | |
schedule: | |
# Run every monday at 0200UTC | |
- cron: "0 2 * * 1" | |
push: | |
branches-ignore: [master, main] | |
# Remove the line above to run when pushing to master | |
pull_request: | |
branches: [master, main] | |
env: | |
DOTNET_VERSION: '6.x.x' | |
jobs: | |
code_quality: | |
name: 'π οΈ Build & π§ͺ Test' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET | |
uses: actions/[email protected] | |
with: | |
dotnet-version: ${{ env.DOTNET_VERSION }} | |
- name: π¦ Restore dependencies | |
run: dotnet restore -r linux-x64 datasheetapi/ && dotnet restore -r linux-x64 tests/ | |
- name: π οΈ Build Solution | |
run: dotnet build datasheetapi --configuration Release && dotnet build tests --configuration Release | |
- name: π§ͺ Run Tests | |
run: dotnet test tests --configuration Release | |
security_vulnerabilities: | |
name: π¨ Security vulnerabilities | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET | |
uses: actions/[email protected] | |
with: | |
dotnet-version: ${{ env.DOTNET_VERSION }} | |
- name: π¦ Restore dependencies | |
run: dotnet restore -r linux-x64 datasheetapi/ && dotnet restore -r linux-x64 tests/ | |
- name: π οΈ Build Solution | |
run: dotnet build datasheetapi --configuration Release && dotnet build tests --configuration Release | |
- uses: actions/checkout@master | |
- run: echo ${{ secrets.GITHUB_TOKEN }} | |
- name: Run Snyk to check for vulnerabilities | |
uses: snyk/actions/dotnet@master | |
continue-on-error: true | |
env: | |
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} | |
with: | |
args: | | |
--severity-threshold=high --file=/home/runner/work/spinedatasheetapi/spinedatasheetapi/datasheetapi/datasheetapi.csproj | |
lint: | |
name: π Linting | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Lint Code Base | |
uses: github/super-linter@v4 | |
env: | |
VALIDATE_ALL_CODEBASE: false | |
DEFAULT_BRANCH: main | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |