From b36aeeeab6b5991dca2d68d1414d3f2780b0cbad Mon Sep 17 00:00:00 2001 From: Winni Neessen Date: Sun, 17 Mar 2024 19:24:19 +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 | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index f5db4a8..2a21cfc 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -80,12 +80,9 @@ 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 "Build Application using Go" + apt-get update; apt-get -y install go go build -ldflags '-s -w' -o apg github.com/wneessen/apg-go/cmd/apg - name: Perform CodeQL Analysis