Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/scan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: scan

on:
workflow_dispatch:

jobs:
virus-total:
runs-on: ubuntu-latest
steps:
Comment thread
dhth marked this conversation as resolved.
- uses: actions/checkout@v5
Comment thread
dhth marked this conversation as resolved.
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- name: Build Binaries
uses: goreleaser/goreleaser-action@v6
with:
version: 'v2.9.0'
args: build --snapshot
Comment thread
dhth marked this conversation as resolved.
Comment thread
dhth marked this conversation as resolved.
- name: List binaries
run: |
ls -lh ./dist/hours_*/hours
- name: VirusTotal scan
uses: crazy-max/ghaction-virustotal@d34968c958ae283fe976efed637081b9f9dcf74f #v4.2.0
with:
vt_api_key: ${{ secrets.VT_API_KEY }}
request_rate: 4
files: |
./dist/hours_*/hours
Comment thread
dhth marked this conversation as resolved.