mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-26 05:55:29 +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
485 B
YAML
23 lines
485 B
YAML
name: 🙏🏻 Lint Test
|
|
|
|
on:
|
|
pull_request:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
lint:
|
|
name: Lint Test
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v3
|
|
with:
|
|
go-version: 1.19
|
|
- name: Checkout code
|
|
uses: actions/checkout@v3
|
|
- name: Run golangci-lint
|
|
uses: golangci/golangci-lint-action@v3.3.1
|
|
with:
|
|
version: latest
|
|
args: --timeout 5m
|
|
working-directory: v2/ |