Skip to content

Commit

Permalink
Workflow test
Browse files Browse the repository at this point in the history
  • Loading branch information
DrAlexD committed Jan 12, 2024
1 parent 576eebc commit 1b64e1c
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Install and run codeQL

on:
pull_request:
push:
branches:
- 'develop'

jobs:
install_and_run_codeql:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: advanced-security/codeql-bundle-action/download-bundle@v2
id: download-bundle
with:
tag: "latest"
- uses: advanced-security/codeql-bundle-action/create-bundle@v2
id: create-bundle
with:
bundle-path: ${{ steps.download-bundle.outputs.bundle-path }}
packs: "octo/cpp-queries,octo/cpp-all,octo/cpp-customizations"
- uses: actions/upload-artifact@v3
with:
name: codeql-bundle.tar.gz
path: ${{ steps.create-bundle.outputs.output-path }}
- run: |
tar -xzf ${{ steps.create-bundle.outputs.output-path }}
codeql test run languages\cpp

0 comments on commit 1b64e1c

Please sign in to comment.