mirror of
https://github.com/wneessen/apg-go.git
synced 2024-11-21 21:30:51 +01:00
Update Go version and simplify build script
The Go version in go.mod has been updated from 1.22 to 1.22.0 to avoid potential compatibility issues. Additionally, the build process in codeql.yml has been simplified by consolidating multiple 'go mod' commands into a single 'go build' command.
This commit is contained in:
parent
2691b04e38
commit
4ea41be22f
2 changed files with 2 additions and 5 deletions
5
.github/workflows/codeql.yml
vendored
5
.github/workflows/codeql.yml
vendored
|
@ -83,10 +83,7 @@ jobs:
|
|||
|
||||
- run: |
|
||||
echo "Build Application using Go"
|
||||
go mod tidy
|
||||
go mod download
|
||||
go mod verify
|
||||
go build -ldflags '-s -w' -o apg github.com/wneessen/apg-go/cmd/apg
|
||||
go1.22.0 build -ldflags '-s -w' -o apg github.com/wneessen/apg-go/cmd/apg
|
||||
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@v3
|
||||
|
|
2
go.mod
2
go.mod
|
@ -4,6 +4,6 @@
|
|||
|
||||
module github.com/wneessen/apg-go
|
||||
|
||||
go 1.22.0
|
||||
go 1.22
|
||||
|
||||
require github.com/wneessen/go-hibp v1.0.6
|
||||
|
|
Loading…
Reference in a new issue