Skip to content

Commit

Permalink
go version 1.22
Browse files Browse the repository at this point in the history
  • Loading branch information
hollesse committed Apr 5, 2024
1 parent 061f9cf commit 1f0f9f8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ jobs:
- name: Show git version
run: git version
- name: Use Go 1.20.x
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: '~1.20'
go-version: '1.22'
- name: Test
run: go test -test.v
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ jobs:
steps:
- uses: actions/checkout@main
- name: Use Go 1.20.x
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: '~1.20'
go-version: '1.22'
- name: Test
run: go test
env:
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/virustotal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@ jobs:
uses: actions/checkout@v3
-
name: Set up Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: '~1.20'
go-version: '1.22'
-
name: Build
run: |
GOOS=windows GOARCH=amd64 go build -o ./mob-virustotal-windows.exe -v -ldflags "-s -w"
GOOS=linux GOARCH=amd64 go build -o ./mob-virustotal-linux -v -ldflags "-s -w"
GOOS=darwin GOARCH=amd64 go build -o ./mob-virustotal-macos-amd -v -ldflags "-s -w"
GOOS=darwin GOARCH=arm64 go build -o ./mob-virustotal-macos-arm -v -ldflags "-s -w"
GOOS=windows GOARCH=amd64 go build -o ./mob-virustotal-windows.exe -v
GOOS=linux GOARCH=amd64 go build -o ./mob-virustotal-linux -v
GOOS=darwin GOARCH=amd64 go build -o ./mob-virustotal-macos-amd -v
GOOS=darwin GOARCH=arm64 go build -o ./mob-virustotal-macos-arm -v
-
name: VirusTotal Scan
uses: crazy-max/ghaction-virustotal@v3
Expand Down

0 comments on commit 1f0f9f8

Please sign in to comment.