]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
codeql-analysis.yml: fix the 'languages' setting
authorDaniel Stenberg <daniel@haxx.se>
Fri, 26 Jun 2020 06:49:23 +0000 (08:49 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 26 Jun 2020 06:49:47 +0000 (08:49 +0200)
It needs a 'with:' in front of it.

.github/workflows/codeql-analysis.yml

index 1b67e22fbd04d4422f74409f93f7718a119493f3..a8329ff7c542b55d778247faefaadcff5737e009 100644 (file)
@@ -23,11 +23,12 @@ jobs:
     # 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.
     - name: Initialize CodeQL
       uses: github/codeql-action/init@v1
-      languages: cpp
+      with:
+        languages: cpp
 
     # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).
     # If this step fails, then you should remove it and run the build manually (see below)