diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index d1e17471..52751ee1 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -13,7 +13,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v2 with: - go-version: 1.16 + go-version: 1.17 - name: Check out code uses: actions/checkout@v2 diff --git a/.github/workflows/functional-test.yml b/.github/workflows/functional-test.yml index 9c748525..ec14f76d 100644 --- a/.github/workflows/functional-test.yml +++ b/.github/workflows/functional-test.yml @@ -13,7 +13,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v2 with: - go-version: 1.15 + go-version: 1.17 - name: Check out code uses: actions/checkout@v2 diff --git a/.github/workflows/publish-docs.yaml b/.github/workflows/publish-docs.yaml index 94b4d3e7..6a96a98f 100644 --- a/.github/workflows/publish-docs.yaml +++ b/.github/workflows/publish-docs.yaml @@ -19,7 +19,7 @@ jobs: - name: "Set up Go" uses: actions/setup-go@v2 with: - go-version: 1.16 + go-version: 1.17 - name: Generate YAML Syntax Documentation id: generate-docs @@ -30,7 +30,7 @@ jobs: fi go generate pkg/templates/templates.go go build -o "cmd/docgen/docgen" cmd/docgen/docgen.go - ./cmd/docgen/docgen syntax-reference.md nuclei-jsonschema.json + ./cmd/docgen/docgen ../SYNTAX-REFERENCE.md ../nuclei-jsonschema.json echo "::set-output name=changes::$(git status -s | wc -l)" working-directory: v2 @@ -39,7 +39,7 @@ jobs: run: | git config --local user.email "action@github.com" git config --local user.name "GitHub Action" - git add v2/syntax-reference.md v2/nuclei-jsonschema.json + git add SYNTAX-REFERENCE.md nuclei-jsonschema.json git commit -m "Auto Generate Syntax Docs + JSONSchema [$(date)] :robot:" -a - name: Push changes diff --git a/.github/workflows/release-binary.yml b/.github/workflows/release-binary.yml index 7bc3cc13..c0748e87 100644 --- a/.github/workflows/release-binary.yml +++ b/.github/workflows/release-binary.yml @@ -18,7 +18,7 @@ jobs: name: "Set up Go" uses: actions/setup-go@v2 with: - go-version: 1.16 + go-version: 1.17 - env: GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"