Skip to content

Commit

Permalink
ci: add codeQL analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
dpgaspar committed May 5, 2023
1 parent 29f51d8 commit 844379e
Showing 1 changed file with 1 addition and 26 deletions.
27 changes: 1 addition & 26 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
paths:
- flask_appbuilder
schedule:
- cron: '0 2 * * *'
- cron: '0 3 * * *'

jobs:
analyze:
Expand All @@ -16,28 +16,3 @@ jobs:
fail-fast: false
matrix:
language: [ 'python' ]
build:
runs-on: ubuntu-22.04
permissions:
security-events: write
actions: read
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y libldap2-dev libsasl2-dev libssl-dev
pip install --upgrade pip
pip install -r requirements.txt
- 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

0 comments on commit 844379e

Please sign in to comment.