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