mirror of
https://github.com/wneessen/apg-go.git
synced 2024-11-22 13:50:49 +01:00
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:
parent
2af31dcb48
commit
043008a97d
1 changed files with 5 additions and 1 deletions
6
.github/workflows/codeql.yml
vendored
6
.github/workflows/codeql.yml
vendored
|
@ -80,8 +80,12 @@ jobs:
|
||||||
# If the Autobuild fails above, remove it and uncomment the following three lines.
|
# 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.
|
# 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: |
|
- run: |
|
||||||
echo "Run, Build Application using script"
|
|
||||||
go build -ldflags '-s -w' -o apg github.com/wneessen/apg-go/cmd/apg
|
go build -ldflags '-s -w' -o apg github.com/wneessen/apg-go/cmd/apg
|
||||||
|
|
||||||
- name: Perform CodeQL Analysis
|
- name: Perform CodeQL Analysis
|
||||||
|
|
Loading…
Reference in a new issue