Skip to content

Commit

Permalink
Update codeql-analysis-java.yaml
Browse files Browse the repository at this point in the history
remove autobuild and add build-mode=none
  • Loading branch information
yangx17 authored Aug 6, 2024
1 parent c0d27ac commit 13b7c2d
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/codeql-analysis-java.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,12 @@ jobs:
actions: read
contents: read
security-events: write
packages: read

strategy:
fail-fast: false
matrix:
language: ["java"]
language: ["java-kotlin"]

steps:
- name: Checkout repository
Expand All @@ -34,15 +35,16 @@ jobs:
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
build-mode: none
queries: security-extended # security-and-quality
# 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.

# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v3
# # Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
# # If this step fails, then you should remove it and run the build manually (see below)
# - name: Autobuild
# uses: github/codeql-action/autobuild@v3

# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
Expand Down

0 comments on commit 13b7c2d

Please sign in to comment.