Skip to content

Commit

Permalink
Cleanup and document test with container
Browse files Browse the repository at this point in the history
  • Loading branch information
vmcj committed Feb 25, 2023
1 parent 8872f0f commit c4d6982
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,12 @@ on:

jobs:
analyze:
# We can not run with our gitlab container
# CodeQL has missing .so files otherwise
name: Analyze
runs-on: ubuntu-latest
env:
COMPILED: |
[
"cpp"
]
COMPILED: "cpp"
permissions:
actions: read
contents: read
Expand All @@ -28,24 +27,16 @@ jobs:
fail-fast: false
matrix:
language: [ 'cpp', 'java', 'javascript', 'python' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Learn more about CodeQL language support at https://git.io/codeql-language-support

steps:
- name: Checkout repository
uses: actions/checkout@v2

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

# Install needed tools,
- name: Install required tools
if: ${{ contains(env.COMPILED, matrix.language) }}
run: |
Expand Down

0 comments on commit c4d6982

Please sign in to comment.