File tree Expand file tree Collapse file tree 5 files changed +125
-0
lines changed
Expand file tree Collapse file tree 5 files changed +125
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ name : Feature request
3+ about : Suggest an idea for this project
4+ title : " [feature]"
5+ labels : ' '
6+ assignees : ' '
7+
8+ ---
9+
10+ ** Is your feature request related to a problem? Please describe.**
11+ A clear and concise description of what the problem is. Ex. I'm always frustrated when [ ...]
12+
13+ ** Describe the solution you'd like**
14+ A clear and concise description of what you want to happen.
Original file line number Diff line number Diff line change 1+ ---
2+ name : Issue report
3+ about : Create a report to help us improve
4+ title : " [issue]"
5+ labels : ' '
6+ assignees : ' '
7+
8+ ---
9+
10+ ** Describe the bug**
11+ A clear and concise description of what the bug is.
12+
13+ ** Nuclei version**
14+ Please share the version of the nuclei you are running with ` simplehttpserver -version `
15+
16+
17+ ** Screenshot of the error or bug**
18+ please add the screenshot showing bug or issue you are facing.
Original file line number Diff line number Diff line change 1+ name : Build
2+ on :
3+ push :
4+ branches :
5+ - master
6+ pull_request :
7+
8+ jobs :
9+ lint :
10+ name : golangci-lint
11+ runs-on : ubuntu-latest
12+ steps :
13+ - name : Checkout code
14+ uses : actions/checkout@v2
15+ - name : Run golangci-lint
16+ uses : golangci/golangci-lint-action@v2.2.0
17+ with :
18+ # Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
19+ version : v1.31
20+ args : --timeout 5m
21+
22+ # Optional: working directory, useful for monorepos
23+ # working-directory: somedir
24+
25+ # Optional: golangci-lint command line arguments.
26+ # args: --issues-exit-code=0
27+
28+ # Optional: show only new issues if it's a pull request. The default value is `false`.
29+ # only-new-issues: true
30+ build :
31+ name : Build
32+ runs-on : ubuntu-latest
33+ steps :
34+ - name : Set up Go
35+ uses : actions/setup-go@v2
36+ with :
37+ go-version : 1.14
38+
39+ - name : Check out code
40+ uses : actions/checkout@v2
41+
42+ - name : Test
43+ run : go test .
44+ working-directory : .
45+
46+ - name : Build
47+ run : go build .
48+ working-directory : .
Original file line number Diff line number Diff line change 1+ # dockerhub-push pushes docker build to dockerhub automatically
2+ # on the creation of a new release
3+ name : Publish to Dockerhub on creation of a new release
4+ on :
5+ release :
6+ types : [published]
7+ jobs :
8+ build :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - uses : actions/checkout@master
12+ - name : Publish to Dockerhub Registry
13+ uses : elgohr/Publish-Docker-Github-Action@master
14+ with :
15+ name : projectdiscovery/simplehttpserver
16+ username : ${{ secrets.DOCKER_USERNAME }}
17+ password : ${{ secrets.DOCKER_PASSWORD }}
Original file line number Diff line number Diff line change 1+ name : Release
2+ on :
3+ create :
4+ tags :
5+ - v*
6+
7+ jobs :
8+ release :
9+ runs-on : ubuntu-latest
10+ steps :
11+ -
12+ name : " Check out code"
13+ uses : actions/checkout@v2
14+ with :
15+ fetch-depth : 0
16+ -
17+ name : " Set up Go"
18+ uses : actions/setup-go@v2
19+ with :
20+ go-version : 1.14
21+ -
22+ env :
23+ GITHUB_TOKEN : " ${{ secrets.GITHUB_TOKEN }}"
24+ name : " Create release on GitHub"
25+ uses : goreleaser/goreleaser-action@v2
26+ with :
27+ args : " release --rm-dist"
28+ version : latest
You can’t perform that action at this time.
0 commit comments