2021-06-16 10:37:19 +00:00
|
|
|
name: 🔨 Build Test
|
2020-06-01 19:34:57 +00:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
pull_request:
|
2021-06-15 16:01:56 +00:00
|
|
|
workflow_dispatch:
|
2020-08-25 21:24:31 +00:00
|
|
|
|
2021-06-16 10:37:19 +00:00
|
|
|
|
|
|
|
jobs:
|
2020-06-01 19:34:57 +00:00
|
|
|
build:
|
2021-06-15 16:01:56 +00:00
|
|
|
name: Test Builds
|
2020-08-25 21:24:31 +00:00
|
|
|
runs-on: ubuntu-latest
|
2020-06-01 19:34:57 +00:00
|
|
|
steps:
|
|
|
|
- name: Set up Go
|
|
|
|
uses: actions/setup-go@v2
|
|
|
|
with:
|
2021-08-21 18:07:04 +00:00
|
|
|
go-version: 1.16
|
2020-06-01 19:34:57 +00:00
|
|
|
|
|
|
|
- name: Check out code
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
|
|
|
|
- name: Test
|
2021-02-27 07:01:17 +00:00
|
|
|
run: go test ./...
|
|
|
|
working-directory: v2/
|
|
|
|
|
|
|
|
- name: Integration Tests
|
2021-02-27 07:08:24 +00:00
|
|
|
run: bash run.sh
|
|
|
|
working-directory: integration_tests/
|
2020-06-01 19:34:57 +00:00
|
|
|
|
|
|
|
- name: Build
|
|
|
|
run: go build .
|
2021-06-15 16:01:56 +00:00
|
|
|
working-directory: v2/cmd/nuclei/
|