Skip to content
Snippets Groups Projects
Commit 699cd3cc authored by Gandalf's avatar Gandalf
Browse files

Preliminary workflow configuration.

parent e08e76a8
No related branches found
No related tags found
1 merge request!9finally merge old fixes with master
name: "CodeQL config for Jussi"
languages: python
queries:
- name: Extended Security
uses: security-extended
- name: Security and Quality
uses: security-and-quality
name: "CodeQL"
on:
push:
branches: [ develop ]
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'python' ]
python-version: [3.6, 3.8]
steps:
- name: Checkout repository
uses: actions/checkout@v2
- run: git fetch --prune --unshallow
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install .
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
config-file: ./.github/codeql-config.yml
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment