name: "CodeQL action" on: push env: CODEQL_ACTION_TESTING_ENVIRONMENT: codeql-action-pr-checks jobs: build: strategy: matrix: os: [ubuntu-latest,windows-latest,macos-latest] runs-on: ${{ matrix.os }} permissions: security-events: write steps: - name: Checkout uses: actions/checkout@v3 - name: Initialize CodeQL uses: ./init id: init with: languages: javascript config-file: ./.github/codeql/codeql-config.yml tools: https://github.com/dsp-testing/codeql-cli-nightlies/releases/download/codeql-bundle-20230801/codeql-bundle-linux64.tar.gz # 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