nuclei/.github/workflows/build-test.yml

31 lines
581 B
YAML
Raw Normal View History

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:
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
runs-on: ubuntu-latest
2020-06-01 19:34:57 +00:00
steps:
- name: Set up Go
uses: actions/setup-go@v2
with:
2021-02-27 07:01:17 +00:00
go-version: 1.15
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/