diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index fe00305f..b2b44bb9 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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 diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index a2db4656..72b30400 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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: diff --git a/.github/workflows/virustotal.yaml b/.github/workflows/virustotal.yaml index b0d426df..739aa060 100644 --- a/.github/workflows/virustotal.yaml +++ b/.github/workflows/virustotal.yaml @@ -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