Alexis Maiquez 1 рік тому
батько
коміт
ea178407da
1 змінених файлів з 6 додано та 6 видалено
  1. 6 6
      .github/workflows/cmake.yml

+ 6 - 6
.github/workflows/cmake.yml

@@ -72,6 +72,12 @@ jobs:
       - uses: actions/checkout@v3
         with:
           submodules: true
+          
+      - name: Initialize CodeQL
+        # Initializes the CodeQL tools for scanning.
+        uses: github/codeql-action/init@v3
+        with:
+          languages: ${{ matrix.language }}
 
       - name: Install dependencies
         if: matrix.os == 'ubuntu-22.04'
@@ -90,12 +96,6 @@ jobs:
         # Build your program with the given configuration
         run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
 
-      - name: Initialize CodeQL
-        # Initializes the CodeQL tools for scanning.
-        uses: github/codeql-action/init@v3
-        with:
-          languages: ${{ matrix.language }}
-
       - name: Perform CodeQL Analysis
         uses: github/codeql-action/analyze@v3