Skip to content

Merge pull request #21 from advanced-security/jsinglet/repo-library-i… #23

Merge pull request #21 from advanced-security/jsinglet/repo-library-i…

Merge pull request #21 from advanced-security/jsinglet/repo-library-i… #23

name: ⚙️ Test Bundle Creation (Quick)
on:
push:
branches:
- 'main'
pull_request:
branches:
- 'main'
workflow_dispatch:
jobs:
test-bundle-creation:
name: Test Bundle Creation
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install QLT
id: install-qlt
uses: ./.github/actions/install-qlt-local
with:
qlt-version: 'latest'
add-to-path: true
- name: Validate QLT Installation
shell: bash
run: |
echo -e "Checking QLT Version:"
echo "QLT Home: ${{ steps.install-qlt.outputs.qlt-home }}"
qlt version
- name: Create Bundle (quick)
shell: bash
run: |
if ! qlt codeql run install --base example/ --quick-bundle ; then
echo "Failed to generate bundle."
exit 1
fi
# ensure bundle runs
if ! qlt query run install-packs --use-bundle --base example/ ; then
echo "Failed to install query packs with tool."
exit 1
fi