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