First draft of GitHub Action (#309)

This does not run the integration tests.

https://github.com/zmap/zgrab2/pull/309
This commit is contained in:
engn33r 2021-06-07 00:55:15 +00:00 committed by GitHub
parent ecd32d0d5d
commit 577c906710
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

19
.github/workflows/build.yml vendored Normal file
View File

@ -0,0 +1,19 @@
name: ZGrab2 build action
on: [push, pull_request]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.16
- name: Check out source
uses: actions/checkout@v2
- name: Build
run: |
go get -t ./...
make