[#79] AppDbContext: Use compiled queries
This commit is contained in:
@@ -23,6 +23,16 @@ jobs:
|
||||
echo "No files with BOM found"
|
||||
exit 0
|
||||
}
|
||||
- name: Check for code smells
|
||||
shell: powershell
|
||||
run: |
|
||||
git grep -IEn "\.(Single|First|Min|Max|Any)(OrDefault)?Async\([^)]|^using System.Data.Entity;"
|
||||
if ( $lastexitcode -ne 1 ) {
|
||||
exit 1
|
||||
} else {
|
||||
echo "No files with code smells found"
|
||||
exit 0
|
||||
}
|
||||
- name: Setup MSBuild
|
||||
uses: microsoft/setup-msbuild@v1.1
|
||||
- name: Setup NuGet
|
||||
|
||||
Reference in New Issue
Block a user