nuclei/.github/workflows/build.yaml

27 lines
486 B
YAML

name: Build
on:
push:
branches:
- master
pull_request:
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.14
- name: Check out code
uses: actions/checkout@v2
- name: Test
run: go test .
working-directory: v2/cmd/nuclei/
- name: Build
run: go build .
working-directory: v2/cmd/nuclei/