misc update

patch-1
sandeep 2021-09-10 17:47:08 +05:30
parent 8b31e0d006
commit 68abf454eb
2 changed files with 10 additions and 20 deletions

View File

@ -6,13 +6,10 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@master
- name: Setup golang
uses: actions/setup-go@v2
with:
go-version: 1.14
- uses: actions/checkout@master
- uses: actions/setup-go@v2
with:
go-version: 1.17
#- name: Cache Go
# id: cache-go
@ -26,7 +23,7 @@ jobs:
env:
GO111MODULE: on
run: |
go get -v github.com/projectdiscovery/nuclei/v2/cmd/nuclei
go install github.com/projectdiscovery/nuclei/v2/cmd/nuclei@dev
shell: bash
- name: Template Validation

View File

@ -11,21 +11,14 @@ jobs:
runs-on: ubuntu-latest
if: github.repository == 'projectdiscovery/nuclei-templates' && github.ref == 'refs/heads/master'
steps:
- name: Checkout Repo
uses: actions/checkout@master
with:
fetch-depth: 0
- name: Setup golang
uses: actions/setup-go@v2
with:
go-version: 1.14
- uses: actions/checkout@master
- uses: actions/setup-go@v2
with:
go-version: 1.17
- name: Installing Template Stats
env:
GO111MODULE: on
run: |
go get -v github.com/projectdiscovery/templates-stats@main
go install github.com/projectdiscovery/templates-stats@main
shell: bash
- name: Markdown Stats