From 043008a97d9293d2bd05cbdeaf39209afdbcae8c Mon Sep 17 00:00:00 2001 From: Winni Neessen Date: Sun, 17 Mar 2024 19:22:18 +0100 Subject: [PATCH] Update CodeQL workflow to include Go installation and building The previous autobuild process has been disabled in the Github actions workflow. A new step for Go installation and manual building of the application using Go has been implemented, providing enhanced control and flexibility over the project's build process. --- .github/workflows/codeql.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index d85e334..f5db4a8 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -80,8 +80,12 @@ jobs: # 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. + - name: Install Go + run: | + apt-get update; apt-get -y install go + + - name: Build Application using Go - run: | - echo "Run, Build Application using script" go build -ldflags '-s -w' -o apg github.com/wneessen/apg-go/cmd/apg - name: Perform CodeQL Analysis