Files
codeql-action/.github/workflows/codeql.yml
T
2024-01-12 15:14:45 +00:00

37 lines
923 B
YAML

name: "CodeQL action"
on:
push:
env:
CODEQL_ACTION_TESTING_ENVIRONMENT: codeql-action-pr-checks
jobs:
build:
strategy:
matrix:
include:
- os: windows-2022
tools: https://github.com/dsp-testing/codeql-cli-nightlies/releases/download/codeql-bundle-20240112/codeql-bundle-win64.tar.gz
runs-on: ${{ matrix.os }}
permissions:
security-events: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Initialize CodeQL
uses: ./init
id: init
with:
debug: true
languages: javascript
config-file: ./.github/codeql/codeql-config.yml
tools: ${{ matrix.tools }}
# confirm steps.init.outputs.codeql-path points to the codeql binary
- name: Print CodeQL Version
run: ${{steps.init.outputs.codeql-path}} version --format=json
- name: Perform CodeQL Analysis
uses: ./analyze