Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CodeQL #1

Merged
Merged
Changes from 10 commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: CodeQL Analysis

on:
push:
pull_request:
schedule:
- cron: '0 8 * * *'

jobs:
analyze:
name: Analyze
runs-on: windows-latest
Copy link

@aleks-ivanov aleks-ivanov Apr 23, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why windows not ubuntu ?
Also you haven't resolved the last changes request.

Copy link
Author

@szlatkow szlatkow Apr 28, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aleks-ivanov
I am using windows because the .cmd file cannot be built on ubuntu.
Resolved the last requested changes.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alright

steps:
- name: Checkout repository
id: checkout_repo
uses: actions/checkout@v2

- name: Initialize CodeQL
id: init_codeql
uses: github/codeql-action/init@v1
with:
queries: security-and-quality

- name: CI Build
id: build_ci
run: |
.\DownloadDeps.cmd
.\BuildAll.vs2019.cmd x64 -ci

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Name and ID are not good enough. Should've checked out the names and IDs of the other steps, to use them as examples.


- name: Perform CodeQL Analysis
id: analyze_codeql
uses: github/codeql-action/analyze@v1

# Built with ❤ by [Pipeline Foundation](https://pipeline.foundation)