summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2022-03-17 10:12:48 -0400
committerNed Batchelder <ned@nedbatchelder.com>2022-03-17 10:12:48 -0400
commited3fe9c6f9bcd4429203d24582c7dd5b17b3cd1c (patch)
treeba71365861511d2d2956004243638046c3d7d70b
parenta159f801a6d45ddaf2da36b5fcf74218695da49e (diff)
downloadpython-coveragepy-git-ed3fe9c6f9bcd4429203d24582c7dd5b17b3cd1c.tar.gz
build: remove cpp from CodeQL, and use a more familiar yaml syntax
-rw-r--r--.github/workflows/codeql-analysis.yml10
1 files changed, 7 insertions, 3 deletions
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
index 8af2ff64..90827f47 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -13,10 +13,12 @@ name: "CodeQL"
on:
push:
- branches: [ master ]
+ branches:
+ - master
pull_request:
# The branches below must be a subset of the branches above
- branches: [ master ]
+ branches:
+ - master
schedule:
- cron: '30 20 * * 6'
@@ -32,7 +34,9 @@ jobs:
strategy:
fail-fast: false
matrix:
- language: [ 'cpp', 'javascript', 'python' ]
+ language:
+ - python
+ - javascript
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Learn more about CodeQL language support at https://git.io/codeql-language-support