Skip to content

ci

ci #1906

Workflow file for this run

name: ci
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
schedule:
- cron: '0 10 * * *'
push:
branches:
- 'master'
- 'releases/v*'
tags:
- 'v*'
jobs:
ci:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Set up Go
uses: actions/setup-go@v5
-
name: Build Windows executables
run: |
go mod download
GOOS=windows GOARCH=386 go build -o ./ghaction-virustotal-win32.exe -ldflags "-s -w"
GOOS=windows GOARCH=amd64 go build -o ./ghaction-virustotal-win64.exe -ldflags "-s -w"
working-directory: ./tests/app/
-
name: VirusTotal scan
id: vt
uses: ./
with:
vt_api_key: ${{ secrets.VT_API_KEY }}
files: |
./tests/app/*.exe