mirror of
https://github.com/wneessen/apg-go.git
synced 2024-11-22 13:50:49 +01:00
Update Go build steps in GitHub workflow
The build steps in the CodeQL action of the GitHub workflow have been updated. Instead of using the 'apt-get' command, the 'go mod tidy', 'go mod download', and 'go mod verify' are now used. This improves the building process by organizing and verifying the dependencies.
This commit is contained in:
parent
31cf70c678
commit
6f25663957
1 changed files with 3 additions and 1 deletions
4
.github/workflows/codeql.yml
vendored
4
.github/workflows/codeql.yml
vendored
|
@ -83,7 +83,9 @@ jobs:
|
|||
|
||||
- run: |
|
||||
echo "Build Application using Go"
|
||||
apt-get update; apt-get -y install go
|
||||
go mod tidy
|
||||
go mod download
|
||||
go mod verify
|
||||
go build -ldflags '-s -w' -o apg github.com/wneessen/apg-go/cmd/apg
|
||||
|
||||
- name: Perform CodeQL Analysis
|
||||
|
|
Loading…
Reference in a new issue