diff --git a/.github/workflows/template-validate.yml b/.github/workflows/template-validate.yml index 705f870c7e..33e2653241 100644 --- a/.github/workflows/template-validate.yml +++ b/.github/workflows/template-validate.yml @@ -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 \ No newline at end of file + nuclei -validate -w ./workflows \ No newline at end of file