mirror of
https://github.com/Anon-Planet/thgtoa.git
synced 2026-05-06 19:44:19 +02:00
c49cc87390
- Use v6.x for latest stable actions/checkout - Use v6.x for latest stable Go version - Add release line - Scan on push using rules Signed-off-by: nopeitsnothing <no@anonymousplanet.org>
34 lines
733 B
YAML
34 lines
733 B
YAML
name: '🦠 VirusTotal Scan'
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- 'main'
|
|
tags:
|
|
- 'v*'
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: write
|
|
steps:
|
|
- name: '📦 Checkout'
|
|
uses: actions/checkout@v6
|
|
|
|
- name: '📦 Set up Go'
|
|
uses: actions/setup-go@v6
|
|
with:
|
|
go-version: '1.26.2'
|
|
- run: go version
|
|
|
|
- name: '🦠 Scan PDF files using VT'
|
|
uses: crazy-max/ghaction-virustotal@v5
|
|
with:
|
|
vt_api_key: ${{ secrets.VT_API_KEY }}
|
|
update_release_body: true
|
|
files: |
|
|
./export/thgtoa.pdf
|
|
./export/thgtoa-dark.pdf
|