Skip to content

Commit

Permalink
Create quality_control.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
NielsPilgaard authored Feb 10, 2023
1 parent 5155acc commit 98a62fd
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/quality_control.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Qodana Scan

on:
workflow_dispatch:
push:
branches: [master]
paths:
- src/Pilgaard.BackgroundJobs/**
- tests/Pilgaard.BackgroundJobs.Tests/**
- tests/ApiApprovalTests.cs
- .github/workflows/qodana_scan.yml
- Directory.Build.props
- Directory.Build.targets

pull_request:
branches: [master]
paths:
- src/Pilgaard.BackgroundJobs/**
- tests/Pilgaard.BackgroundJobs.Tests/**
- tests/ApiApprovalTests.cs
- .github/workflows/qodana_scan.yml
- Directory.Build.props
- Directory.Build.targets

jobs:
scan:
name: Quality Control
runs-on: ubuntu-latest

steps:
- name: 'Qodana Scan'
uses: JetBrains/qodana-action@main
env:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}

0 comments on commit 98a62fd

Please sign in to comment.