Skip to content

Update dependency confluent-kafka to ~=2.3.0 (#1586) #950

Update dependency confluent-kafka to ~=2.3.0 (#1586)

Update dependency confluent-kafka to ~=2.3.0 (#1586) #950

name: "CodeQL"
on:
push:
branches: [ "master" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "master" ]
schedule:
- cron: '20 20 * * 1'
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install poetry
run: pipx install poetry
- name: Setup Python
uses: actions/setup-python@v4.7.1
# More info and options at https://github.com/actions/setup-python
# This step must happen before Initialize CodeQL because it expects the correct verion of Python to be installed already.
with:
python-version-file: .python-version
cache: 'poetry'
# Caching poetry packages potentially speeds up runs, but the effect is small for us.
# See notes at https://github.com/actions/setup-python/blob/main/docs/advanced-usage.md#caching-packages
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: python
# Override the default behavior so that the action doesn't attempt
# to auto-install Python dependencies
setup-python-dependencies: false
config-file: ./.github/codeql/codeql-config.yml
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2