Skip to content

Commit

Permalink
fix: correct issue with autobuild stage of codeql
Browse files Browse the repository at this point in the history
  • Loading branch information
1995parham committed Jan 2, 2024
1 parent 332ed60 commit 63cda1b
Showing 1 changed file with 8 additions and 14 deletions.
22 changes: 8 additions & 14 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,20 +60,14 @@ jobs:
# queries: security-extended,security-and-quality


# Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).
# 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

# If the Autobuild fails above, remove it and uncomment the following three lines.
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.

# - run: |
# echo "Run, Build Application using script"
# ./location_of_script_within_repo/buildscript.sh
# Autobuild is failed, so it is replaced by the following stages.
- uses: actions/checkout@v4
- uses: extractions/setup-just@v1
- uses: actions/setup-go@v5
with:
go-version: "1.21"
- run: just build
name: Autobuild

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
Expand Down

0 comments on commit 63cda1b

Please sign in to comment.