Adding binary cache
parent
9565d52435
commit
7508bafe64
|
@ -11,21 +11,19 @@ jobs:
|
||||||
with:
|
with:
|
||||||
go-version: 1.17
|
go-version: 1.17
|
||||||
|
|
||||||
#- name: Cache Go
|
- name: Cache Go
|
||||||
# id: cache-go
|
id: cache-go
|
||||||
# uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
# with:
|
with:
|
||||||
# path: /home/runner/go
|
path: /home/runner/go
|
||||||
# key: ${{ runner.os }}-go
|
key: ${{ runner.os }}-go
|
||||||
|
|
||||||
- name: Installing Nuclei
|
- name: Installing Nuclei
|
||||||
# if: steps.cache-go.outputs.cache-hit != 'true'
|
if: steps.cache-go.outputs.cache-hit != 'true'
|
||||||
run: |
|
run: |
|
||||||
go install github.com/projectdiscovery/nuclei/v2/cmd/nuclei@latest
|
go install github.com/projectdiscovery/nuclei/v2/cmd/nuclei@latest
|
||||||
shell: bash
|
|
||||||
|
|
||||||
- name: Template Validation
|
- name: Template Validation
|
||||||
run: |
|
run: |
|
||||||
nuclei -validate -t .
|
nuclei -validate -t .
|
||||||
nuclei -validate -w ./workflows
|
nuclei -validate -w ./workflows
|
||||||
shell: bash
|
|
Loading…
Reference in New Issue