mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-14 22:53:46 +08:00
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 3 to 4. - [Release notes](https://github.com/actions/setup-go/releases) - [Commits](https://github.com/actions/setup-go/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/setup-go dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
29 lines
605 B
YAML
29 lines
605 B
YAML
name: 🛠 Template Validate
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- '**.yaml'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v4
|
|
with:
|
|
go-version: 1.19
|
|
|
|
- name: nuclei install
|
|
run: go install -v github.com/projectdiscovery/nuclei/v2/cmd/nuclei@latest
|
|
|
|
- name: Template Validation
|
|
run: |
|
|
cp -r ${{ github.workspace }} $HOME
|
|
nuclei -validate
|
|
nuclei -validate -w ./workflows |