4 Commits a8d897c8ef ... e94d7cbcd8

Author SHA1 Message Date
  Piotr Czajkowski e94d7cbcd8 Not needed 2 years ago
  Piotr Czajkowski 01d4053264 Hate it 2 years ago
  Piotr Czajkowski 7ff89e87f6 Correction 2 years ago
  Piotr Czajkowski 26d2bac3f5 Refresh 2 years ago
2 changed files with 8 additions and 11 deletions
  1. 0 5
      .github/workflows/codeql-analysis.yml
  2. 8 6
      .github/workflows/dotnetcore.yml

+ 0 - 5
.github/workflows/codeql-analysis.yml

@@ -22,11 +22,6 @@ jobs:
         # a pull request then we can checkout the head.
         # a pull request then we can checkout the head.
         fetch-depth: 2
         fetch-depth: 2
 
 
-    # If this run was triggered by a pull request event, then checkout
-    # the head of the pull request instead of the merge commit.
-    - run: git checkout HEAD^2
-      if: ${{ github.event_name == 'pull_request' }}
-
     # Initializes the CodeQL tools for scanning.
     # Initializes the CodeQL tools for scanning.
     - name: Initialize CodeQL
     - name: Initialize CodeQL
       uses: github/codeql-action/init@v1
       uses: github/codeql-action/init@v1

+ 8 - 6
.github/workflows/dotnetcore.yml

@@ -1,4 +1,4 @@
-name: .NET Core
+name: .NET
 
 
 on: [push]
 on: [push]
 
 
@@ -8,12 +8,14 @@ jobs:
     runs-on: ubuntu-latest
     runs-on: ubuntu-latest
 
 
     steps:
     steps:
-    - uses: actions/checkout@v1
-    - name: Setup .NET Core
+    - uses: actions/checkout@v2
+    - name: Setup .NET
       uses: actions/setup-dotnet@v1
       uses: actions/setup-dotnet@v1
       with:
       with:
         dotnet-version: 5.0.x
         dotnet-version: 5.0.x
-    - name: Test
-      run: dotnet test ProcessFilesTests/
+    - name: Restore dependencies
+      run: dotnet restore
     - name: Build
     - name: Build
-      run: dotnet build --configuration Release --framework netcoreapp3.1 ProcessFiles/
+      run: dotnet build --no-restore
+    - name: Test
+      run: dotnet test --no-build --verbosity normal