mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-24 23:55:25 +00:00
* added logs for debug * fixes * removed logs * using cache item * implemented multiple tests * fixed some unit tests * implemented test for skipping * added multiple tests together * added mark failed * fix on tests * better test implementation + concurrent * fix: fixes on concurrent tests * removed parallel and 1 unit test DOCS: by default the command go test runs in parallel tests for different packages, and default is the number of CPUs available (see go help build) * fixes on go routine * increasing parallelism of once.Do * bumping go to 1.19 for atomic types support * removing redundant check + fixing test concurrency on create Co-authored-by: Mzack9999 <mzack9999@protonmail.com> Co-authored-by: mzack <marco.rivoli.nvh@gmail.com>
23 lines
447 B
YAML
23 lines
447 B
YAML
name: 🛠 Template Validate
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- '**.go'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: actions/setup-go@v3
|
|
with:
|
|
go-version: 1.19
|
|
|
|
- name: Template Validation
|
|
run: |
|
|
go run . -ut
|
|
go run . -validate
|
|
go run . -validate -w workflows
|
|
working-directory: v2/cmd/nuclei/ |