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 1b64e1c commit f33c9c5
Showing 1 changed file with 10 additions and 14 deletions.
24 changes: 10 additions & 14 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,20 @@ on:
- 'develop'

jobs:
download_codeql:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- run: |
curl -sSLO https://github.com/github/codeql-action/releases/download/codeql-bundle-v2.16.0/codeql-bundle.tar.gz
install_and_run_codeql:
needs: download_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 }}
tar -xzf codeql-bundle.tar.gz
codeql test run languages\cpp

0 comments on commit f33c9c5

Please sign in to comment.