thgtoa/.github/workflows/vt-scan.yml

27 lines
543 B
YAML

name: '🦠 VirusTotal Scan'
on:
pull_request:
push:
jobs:
build:
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.6'
- run: go version
- name: '🦠 Scan PDF files using VT'
uses: crazy-max/ghaction-virustotal@v3
with:
vt_api_key: ${{ secrets.VT_API_KEY }}
files: |
export/guide.pdf
export/guide.odt