Skip to content

Merge pull request #179 from crazy-max/octokit-retry #2085

Merge pull request #179 from crazy-max/octokit-retry

Merge pull request #179 from crazy-max/octokit-retry #2085

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