mirror of
https://github.com/wneessen/apg-go.git
synced 2024-12-23 03:30:39 +01:00
Update Go version and build command in codeql workflow
The codeql workflow script has been updated. Specifically, the Go version in the build command has been changed from 1.22.0 to 1.22.1+auto, to ensure alignment with the Go version specified elsewhere in the project. Additionally, the build command itself has been simplified, utilizing '/usr/bin/env' to consolidate dependencies.
This commit is contained in:
parent
4ea41be22f
commit
bfc12841ce
1 changed files with 1 additions and 1 deletions
2
.github/workflows/codeql.yml
vendored
2
.github/workflows/codeql.yml
vendored
|
@ -83,7 +83,7 @@ jobs:
|
|||
|
||||
- run: |
|
||||
echo "Build Application using Go"
|
||||
go1.22.0 build -ldflags '-s -w' -o apg github.com/wneessen/apg-go/cmd/apg
|
||||
/usr/bin/env GOTOOLCHAIN=go1.22.1+auto go build -ldflags '-s -w' -o apg github.com/wneessen/apg-go/cmd/apg
|
||||
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@v3
|
||||
|
|
Loading…
Reference in a new issue