Files
codeql-action/.github/workflows/codeql.yml
T
Henry Mercer 1df1cede6b Test new build
2024-01-11 11:53:21 +00:00

37 lines
919 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/henrymercer-test/releases/download/codeql-bundle-20240111/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