Adding binary cache

patch-1
sandeep 2021-10-27 15:34:35 +05:30
parent 9565d52435
commit 7508bafe64
1 changed files with 8 additions and 10 deletions

View File

@ -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