From c32543be7d011e0aa2e5a83230687f1bfae8f61f Mon Sep 17 00:00:00 2001 From: NickVeld Date: Mon, 12 Jul 2021 10:47:50 +0300 Subject: [PATCH] workflows codeql: python installation --- .github/workflows/codeql-analysis.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index b83bd50..1a9bf0e 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -36,11 +36,18 @@ jobs: # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ] # Learn more: # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed + language_version: [ '3.9' ] steps: - name: Checkout repository uses: actions/checkout@v2 + # Set up Python + - name: Set up Python ${{ matrix.language_version }} + uses: actions/setup-python@v2 + with: + python-version: ${{ matrix.language_version }} + # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@v1