mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-21 12:45:25 +00:00
bumping go to 1.20
This commit is contained in:
parent
d57aec5ec7
commit
365baf7da9
2
.github/workflows/build-test.yml
vendored
2
.github/workflows/build-test.yml
vendored
@ -12,7 +12,7 @@ jobs:
|
|||||||
name: Test Builds
|
name: Test Builds
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
go-version: [1.19.x]
|
go-version: [1.20.x]
|
||||||
os: [ubuntu-latest, windows-latest, macOS-12]
|
os: [ubuntu-latest, windows-latest, macOS-12]
|
||||||
|
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|||||||
2
.github/workflows/changelog-indexer.yaml
vendored
2
.github/workflows/changelog-indexer.yaml
vendored
@ -12,7 +12,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/setup-go@v3
|
- uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: 1.19
|
go-version: 1.20
|
||||||
|
|
||||||
- name: Intalling Indexer
|
- name: Intalling Indexer
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
2
.github/workflows/functional-test.yml
vendored
2
.github/workflows/functional-test.yml
vendored
@ -18,7 +18,7 @@ jobs:
|
|||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v3
|
uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: 1.19
|
go-version: 1.20
|
||||||
|
|
||||||
- name: Check out code
|
- name: Check out code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|||||||
2
.github/workflows/lint-test.yml
vendored
2
.github/workflows/lint-test.yml
vendored
@ -12,7 +12,7 @@ jobs:
|
|||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v3
|
uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: 1.19
|
go-version: 1.20
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Run golangci-lint
|
- name: Run golangci-lint
|
||||||
|
|||||||
2
.github/workflows/publish-docs.yaml
vendored
2
.github/workflows/publish-docs.yaml
vendored
@ -18,7 +18,7 @@ jobs:
|
|||||||
- name: "Set up Go"
|
- name: "Set up Go"
|
||||||
uses: actions/setup-go@v3
|
uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: 1.19
|
go-version: 1.20
|
||||||
|
|
||||||
- name: Generate YAML Syntax Documentation
|
- name: Generate YAML Syntax Documentation
|
||||||
id: generate-docs
|
id: generate-docs
|
||||||
|
|||||||
2
.github/workflows/release-binary.yml
vendored
2
.github/workflows/release-binary.yml
vendored
@ -17,7 +17,7 @@ jobs:
|
|||||||
|
|
||||||
- uses: actions/setup-go@v3
|
- uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: 1.19
|
go-version: 1.20
|
||||||
|
|
||||||
- uses: goreleaser/goreleaser-action@v4
|
- uses: goreleaser/goreleaser-action@v4
|
||||||
with:
|
with:
|
||||||
|
|||||||
2
.github/workflows/sonarcloud.yml
vendored
2
.github/workflows/sonarcloud.yml
vendored
@ -18,7 +18,7 @@ jobs:
|
|||||||
- name: "Set up Go"
|
- name: "Set up Go"
|
||||||
uses: actions/setup-go@v3
|
uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: 1.19
|
go-version: 1.20
|
||||||
|
|
||||||
- name: Run unit Tests
|
- name: Run unit Tests
|
||||||
working-directory: v2/
|
working-directory: v2/
|
||||||
|
|||||||
2
.github/workflows/template-validate.yml
vendored
2
.github/workflows/template-validate.yml
vendored
@ -13,7 +13,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-go@v3
|
- uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
go-version: 1.19
|
go-version: 1.20
|
||||||
|
|
||||||
- name: Template Validation
|
- name: Template Validation
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@ -53,7 +53,7 @@ We have a [dedicated repository](https://github.com/projectdiscovery/nuclei-temp
|
|||||||
|
|
||||||
# Install Nuclei
|
# Install Nuclei
|
||||||
|
|
||||||
Nuclei requires **go1.19** to install successfully. Run the following command to install the latest version -
|
Nuclei requires **go1.20** to install successfully. Run the following command to install the latest version -
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
go install -v github.com/projectdiscovery/nuclei/v2/cmd/nuclei@latest
|
go install -v github.com/projectdiscovery/nuclei/v2/cmd/nuclei@latest
|
||||||
|
|||||||
@ -52,7 +52,7 @@ Nuclei使用零误报的定制模板向目标发送请求,同时可以对主
|
|||||||
|
|
||||||
# 安装Nuclei
|
# 安装Nuclei
|
||||||
|
|
||||||
Nuclei需要**go1.19**才能安装成功。执行下列命令安装最新版本的Nuclei
|
Nuclei需要**go1.20**才能安装成功。执行下列命令安装最新版本的Nuclei
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
go install -v github.com/projectdiscovery/nuclei/v2/cmd/nuclei@latest
|
go install -v github.com/projectdiscovery/nuclei/v2/cmd/nuclei@latest
|
||||||
|
|||||||
@ -52,7 +52,7 @@ Kami memiliki [repositori khusus](https://github.com/projectdiscovery/nuclei-tem
|
|||||||
|
|
||||||
# Instalasi Nuclei
|
# Instalasi Nuclei
|
||||||
|
|
||||||
Nuclei membutuhkan **go1.19** agar dapat diinstall. Jalankan perintah berikut untuk menginstal versi terbaru -
|
Nuclei membutuhkan **go1.20** agar dapat diinstall. Jalankan perintah berikut untuk menginstal versi terbaru -
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
go install -v github.com/projectdiscovery/nuclei/v2/cmd/nuclei@latest
|
go install -v github.com/projectdiscovery/nuclei/v2/cmd/nuclei@latest
|
||||||
|
|||||||
@ -50,7 +50,7 @@ Nuclei는 템플릿을 기반으로 대상 간에 요청을 보내기 위해 사
|
|||||||
|
|
||||||
# 설치
|
# 설치
|
||||||
|
|
||||||
Nuclei를 성공적으로 설치하기 위해서 **go1.19**가 필요합니다. 다음 명령을 실행하여 최신 버전을 설치합니다.
|
Nuclei를 성공적으로 설치하기 위해서 **go1.20**가 필요합니다. 다음 명령을 실행하여 최신 버전을 설치합니다.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
go install -v github.com/projectdiscovery/nuclei/v2/cmd/nuclei@latest
|
go install -v github.com/projectdiscovery/nuclei/v2/cmd/nuclei@latest
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
module github.com/projectdiscovery/nuclei/v2
|
module github.com/projectdiscovery/nuclei/v2
|
||||||
|
|
||||||
go 1.19
|
go 1.20
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible
|
github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user