-
-
Notifications
You must be signed in to change notification settings - Fork 150
33 lines (31 loc) · 1018 Bytes
/
virustotal.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: VirusTotal Scan
on: [push, pull_request]
jobs:
virustotal:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '~1.20'
-
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"
-
name: VirusTotal Scan
uses: crazy-max/ghaction-virustotal@v3
with:
vt_api_key: ${{ secrets.VT_API_KEY }}
files: |
./mob-virustotal-windows.exe
./mob-virustotal-linux
./mob-virustotal-macos-amd
./mob-virustotal-macos-arm