File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88jobs :
99 build :
1010 name : Test Builds
11- runs-on : ubuntu-latest
11+ runs-on : ubuntu-latest-16-cores
1212 steps :
1313 - uses : actions/checkout@v3
1414
1515 - uses : actions/setup-go@v3
1616 with :
17- go-version : 1.18
17+ go-version : 1.19
1818
1919 - name : Test
2020 run : go test ./...
Original file line number Diff line number Diff line change 77jobs :
88 analyze :
99 name : Analyze
10- runs-on : ubuntu-latest
10+ runs-on : ubuntu-latest-16-cores
1111 permissions :
1212 actions : read
1313 contents : read
Original file line number Diff line number Diff line change 99
1010jobs :
1111 docker :
12- runs-on : ubuntu-latest
12+ runs-on : ubuntu-latest-16-cores
1313 steps :
1414 - name : Checkout
1515 uses : actions/checkout@v3
Original file line number Diff line number Diff line change 77jobs :
88 lint :
99 name : Lint Test
10- runs-on : ubuntu-latest
10+ runs-on : ubuntu-latest-16-cores
1111 steps :
1212 - name : Checkout code
1313 uses : actions/checkout@v3
1414 - name : Set up Go
1515 uses : actions/setup-go@v3
1616 with :
17- go-version : 1.18
17+ go-version : 1.19
1818 - name : Run golangci-lint
19192020 with :
Original file line number Diff line number Diff line change 11name : 🎉 Release Binary
22
33on :
4- create :
4+ push :
55 tags :
66 - v*
77 workflow_dispatch :
88
99jobs :
1010 release :
11- runs-on : ubuntu-latest
12- if : ${{ startsWith(github.ref, 'refs/tags/v') }}
13-
11+ runs-on : ubuntu-latest-16-cores
1412 steps :
1513 - uses : actions/checkout@v3
16-
1714 - uses : actions/setup-go@v3
1815 with :
19- go-version : 1.18
16+ go-version : 1.19
2017
2118 - uses : goreleaser/goreleaser-action@v4
2219 with :
2522 workdir : .
2623 env :
2724 GITHUB_TOKEN : " ${{ secrets.GITHUB_TOKEN }}"
28- SLACK_WEBHOOK : " ${{ secrets.RELEASE_SLACK_WEBHOOK }}"
25+ SLACK_WEBHOOK : " ${{ secrets.RELEASE_SLACK_WEBHOOK }}"
26+ DISCORD_WEBHOOK_ID : " ${{ secrets.DISCORD_WEBHOOK_ID }}"
27+ DISCORD_WEBHOOK_TOKEN : " ${{ secrets.DISCORD_WEBHOOK_TOKEN }}"
Original file line number Diff line number Diff line change @@ -39,4 +39,8 @@ announce:
3939 enabled : true
4040 channel : ' #release'
4141 username : GoReleaser
42- message_template : ' {{ .ProjectName }} {{ .Tag }} is out! Check it out at {{ .ReleaseURL }}'
42+ message_template : ' New Release: {{ .ProjectName }} {{.Tag}} is published! Check it out at {{ .ReleaseURL }}'
43+
44+ discord :
45+ enabled : true
46+ message_template : ' **New Release: {{ .ProjectName }} {{.Tag}}** is published! Check it out at {{ .ReleaseURL }}'
Original file line number Diff line number Diff line change @@ -7,17 +7,14 @@ const banner = `
77 _____/ /_ ____ _____ _____
88 / ___/ __ \/ __ / __ \/ ___/
99/ /__/ / / / /_/ / /_/ (__ )
10- \___/_/ /_/\__,_/\____/____/ v0.4 .0
10+ \___/_/ /_/\__,_/\____/____/ v0.5 .0
1111`
1212
1313// Version is the current version of chaos
14- const Version = `0.4 .0`
14+ const Version = `0.5 .0`
1515
1616// showBanner is used to show the banner to the user
1717func showBanner () {
1818 gologger .Print ().Msgf ("%s\n " , banner )
19- gologger .Print ().Msgf ("\t \t projectdiscovery.io\n \n " )
20-
21- gologger .Print ().Msgf ("Use with caution. You are responsible for your actions\n " )
22- gologger .Print ().Msgf ("Developers assume no liability and are not responsible for any misuse or damage.\n " )
19+ gologger .Print ().Msgf ("\t \t chaos.projectdiscovery.io\n \n " )
2320}
You can’t perform that action at this time.
0 commit comments