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.
This commit is contained in:
Winni Neessen 2024-03-17 19:24:19 +01:00
parent 043008a97d
commit b36aeeeab6
Signed by: wneessen
GPG key ID: 5F3AF39B820C119D

View file

@ -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