Add the OCaml problem matcher #2145
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Code Scanning | |
on: | |
pull_request: | |
branches: | |
- master | |
push: | |
branches: | |
- master | |
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#concurrency | |
# Concurrent workflows are grouped by the PR or branch that triggered them | |
# (github.ref) and the name of the workflow (github.workflow). The | |
# 'cancel-in-progress' option then make sure that only one workflow is running | |
# at a time. This doesn't prevent new jobs from running, rather it cancels | |
# already running jobs before scheduling new jobs. | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name == 'pull_request' || github.sha }} | |
cancel-in-progress: true | |
permissions: read-all | |
jobs: | |
codeql-build: | |
name: CodeQL Build | |
runs-on: ubuntu-latest | |
permissions: | |
security-events: write | |
steps: | |
- name: Checkout tree | |
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0 | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@00e563ead9f72a8461b24876bee2d0c2e8bd2ee8 # v2.21.5 | |
with: | |
config-file: .github/codeql/codeql-configuration.yml | |
- name: Autobuild | |
uses: github/codeql-action/autobuild@00e563ead9f72a8461b24876bee2d0c2e8bd2ee8 # v2.21.5 | |
- name: Perform CodeQL analysis | |
uses: github/codeql-action/analyze@00e563ead9f72a8461b24876bee2d0c2e8bd2ee8 # v2.21.5 |