Skip to content

Commit 15f869b

Browse files
author
Vic Shóstak
committed
Update workflows
1 parent c73a118 commit 15f869b

File tree

14 files changed

+300
-234
lines changed

14 files changed

+300
-234
lines changed

.github/.codecov.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
coverage:
2+
status:
3+
project:
4+
default:
5+
target: 80%
6+
threshold: 1%
7+
8+
comment:
9+
# Impact Codecov analysis, see: https://docs.codecov.com/docs/impact-analysis
10+
layout: "reach,diff,flags,tree,betaprofiling"
11+
show_critical_paths: true

.github/FUNDING.yml

Lines changed: 0 additions & 4 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,46 @@
11
---
22
name: Bug report
3-
about: Create a bug report to help us improve.
4-
title: ""
5-
labels: "bug"
6-
assignees: "koddr"
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: bug, help wanted
6+
assignees: koddr
77
---
88

9+
<!-- ⚡️ Please find a similar issue BEFORE submitting! ⚡️ -->
10+
911
**Required check list:**
1012

11-
- [x] I'm gonna mark the checkboxes like this.
12-
- [ ] I didn't find in the Create Go App CLI repository's issues section similar bug.
13-
- [ ] I understand, that the Create Go App CLI is Open Source and not-for-profit product.
14-
- [ ] This is not about third-party project, framework, package or technology.
13+
- [ ] I didn't find in the repository's issues section a similar bug.
14+
- [ ] I understand, this is an Open Source and not-for-profit product.
15+
- [ ] This is not about a third-party project, framework, or technology.
1516

1617
**My environment:**
1718

1819
- OS (`uname -a`):
19-
- Golang (`go version`):
20-
- Create Go App CLI (`cgapp -v`):
20+
- Go (`go version`):
2121

2222
**Describe the bug:**
23+
_A clear and concise description of what the bug is._
2324

24-
<!-- A clear and concise description of what the bug is. -->
25+
...
2526

2627
**Steps to reproduce the behavior:**
2728

28-
1. Go to ...
29-
2. Click on ...
29+
1. ...
30+
2. ...
3031
3. ...
31-
4. See error
3232

3333
**Expected behavior:**
34+
_A clear and concise description of what you expected to happen._
3435

35-
<!-- A clear and concise description of what you expected to happen. -->
36+
...
3637

3738
**Screenshots:**
39+
_If applicable, add screenshots to help explain your problem._
3840

39-
<!-- If applicable, add screenshots to help explain your problem. -->
41+
...
4042

4143
**Additional context:**
44+
_Any other context about the issue here._
4245

43-
<!-- Add any other context about the problem here. -->
46+
...

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
blank_issues_enabled: false
2+
3+
contact_links:
4+
- name: GitHub Community Support
5+
url: https://github.com/orgs/community/discussions
6+
about: Please ask and answer questions here.
7+
- name: GitHub Security Bug Bounty
8+
url: https://bounty.github.com/
9+
about: Please report security vulnerabilities here.
Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,40 @@
11
---
22
name: Feature request
3-
about: Suggest an idea for this project.
4-
title: ""
5-
labels: "feature"
6-
assignees: "koddr"
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: enhancement
6+
assignees: koddr
77
---
88

9+
<!-- ⚡️ Please create a discussion BEFORE submitting a pull request! ⚡️ -->
10+
911
**Required check list:**
1012

11-
- [x] I'm gonna mark the checkboxes like this.
12-
- [ ] I didn't find in the Create Go App CLI repository's issues section similar feature request.
13-
- [ ] I understand, that the Create Go App CLI is Open Source and not-for-profit product.
14-
- [ ] This is not about third-party project, framework, package or technology.
13+
- [ ] I didn't find in the repository's issues section a similar bug.
14+
- [ ] I understand, this is an Open Source and not-for-profit product.
15+
- [ ] This is not about a third-party project, framework, or technology.
1516

1617
**Is your feature request related to a problem? Please describe.**
18+
_A clear and concise description of what the issue is._
1719

18-
<!-- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] -->
20+
...
1921

2022
**Describe the solution you'd like:**
23+
_A clear and concise description of what you want to happen._
2124

22-
<!-- A clear and concise description of what you want to happen. -->
25+
...
2326

2427
**Describe alternatives you've considered:**
28+
_A clear and concise description of any alternative solutions._
2529

26-
<!-- A clear and concise description of any alternative solutions or features you've considered. -->
30+
...
2731

2832
**Screenshots:**
33+
_If applicable, add screenshots to help explain your feature._
2934

30-
<!-- If applicable, add screenshots to help explain your feature or problem. -->
35+
...
3136

3237
**Additional context:**
38+
_Any other context or screenshots about the feature request here._
3339

34-
<!-- Add any other context or screenshots about the feature request here. -->
40+
...

.github/config.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
1-
# Configuration for new-issue-welcome - https://github.com/behaviorbot/new-issue-welcome
21
# Comment to be posted to on first time issues
32
newIssueWelcomeComment: >
4-
Thanks for opening your first issue here! 👍 Be sure to follow the issue template.
3+
Hey! 👋 Thanks for opening your first issue here! Be sure to follow the issue template.
54
6-
# Configuration for new-pr-welcome - https://github.com/behaviorbot/new-pr-welcome
75
# Comment to be posted to on PRs from first time contributors in your repository
86
newPRWelcomeComment: >
9-
Thanks for opening this pull request! 👍 Please check out our contributing guidelines.
7+
Yep! ✌️ Thanks for creating this pull request! Please check out our contributing guidelines.
108
11-
# Configuration for first-pr-merge - https://github.com/behaviorbot/first-pr-merge
129
# Comment to be posted to on pull requests merged by a first time user
1310
firstPRMergeComment: >
14-
Congrats on merging your first pull request! 🎉 We here at `Create Go App` are proud of you.
11+
Wow! 🎉 Congratulations on merging your first pull request! We are proud of you.

.github/dependabot.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,9 @@
11
version: 2
2+
23
updates:
34
- package-ecosystem: gomod
45
directory: "/"
56
schedule:
67
interval: daily
7-
time: "11:00"
8+
time: "06:00"
89
open-pull-requests-limit: 10
9-
ignore:
10-
- dependency-name: github.com/AlecAivazis/survey/v2
11-
versions:
12-
- 2.2.8
13-
- 2.2.9
14-
- dependency-name: github.com/spf13/cobra
15-
versions:
16-
- 1.1.2

.github/stale.yml

Lines changed: 0 additions & 26 deletions
This file was deleted.

.github/workflows/golang.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Golang workflow
2+
3+
on:
4+
push:
5+
paths: [ '**.go' ]
6+
pull_request:
7+
paths: [ '**.go' ]
8+
9+
jobs:
10+
build:
11+
strategy:
12+
matrix:
13+
go: [ 'stable' ]
14+
os: [ 'ubuntu-latest' ]
15+
runs-on: ${{ matrix.os }}
16+
steps:
17+
- uses: actions/checkout@v3
18+
- uses: actions/setup-go@v4
19+
with:
20+
go-version: ${{ matrix.go }}
21+
22+
# - name: Run "google/wire" for dependency injection
23+
# run: go run github.com/google/wire/cmd/wire@latest
24+
25+
- name: Run "securego/gosec" for security checks
26+
run: go run github.com/securego/gosec/v2/cmd/gosec@latest -quiet ./...
27+
28+
- name: Run "go-critic/go-critic" for code linting
29+
run: go run github.com/go-critic/go-critic/cmd/gocritic@latest check -enableAll ./...
30+
31+
# - name: Run Go test with coverage report
32+
# run: go test -race -coverprofile=coverage.out -covermode=atomic
33+
#
34+
# - name: Upload coverage report to Codecov
35+
# uses: codecov/codecov-action@v3
36+
# with:
37+
# token: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/golangci_lint.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)