From f835fe08b9b38cddf6aae7ed6a32fbae999d09a0 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 14 Aug 2023 11:53:11 +0200 Subject: Merging upstream version 1.27.0. Signed-off-by: Daniel Baumann --- .github/workflows/ci.yml | 8 ++++++-- .github/workflows/codeql.yml | 41 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/codeql.yml (limited to '.github') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 752ddb5..e91d4dd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,12 @@ jobs: linux: strategy: matrix: - python-version: ['3.7', '3.8', '3.9', '3.10'] + python-version: [ + '3.7', + '3.8', + '3.9', + '3.10', + ] include: - python-version: '3.7' os: ubuntu-18.04 # MySQL 5.7.32 @@ -61,4 +66,3 @@ jobs: run: | coverage combine coverage report - codecov diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml new file mode 100644 index 0000000..bd0617b --- /dev/null +++ b/.github/workflows/codeql.yml @@ -0,0 +1,41 @@ +name: "CodeQL" + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + schedule: + - cron: "12 18 * * 1" + +jobs: + analyze: + name: Analyze + runs-on: ubuntu-latest + permissions: + actions: read + contents: read + security-events: write + + strategy: + fail-fast: false + matrix: + language: [ python ] + + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Initialize CodeQL + uses: github/codeql-action/init@v2 + with: + languages: ${{ matrix.language }} + queries: +security-and-quality + + - name: Autobuild + uses: github/codeql-action/autobuild@v2 + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v2 + with: + category: "/language:${{ matrix.language }}" -- cgit v1.2.3