-
-
Notifications
You must be signed in to change notification settings - Fork 169
33 lines (31 loc) · 949 Bytes
/
virustotal.yaml
File metadata and controls
33 lines (31 loc) · 949 Bytes
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@v6
-
name: Set up Go
uses: actions/setup-go@v6
with:
go-version: '1.22'
-
name: Build
run: |
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@v5
with:
vt_api_key: ${{ secrets.VT_API_KEY }}
files: |
./mob-virustotal-windows.exe
./mob-virustotal-linux
./mob-virustotal-macos-amd
./mob-virustotal-macos-arm