Skip to content

Commit

Permalink
Merge pull request #73 from BitcoinSchema/go-sdk
Browse files Browse the repository at this point in the history
Go sdk
  • Loading branch information
rohenaz committed Sep 13, 2024
2 parents 04cf61d + 7277a6b commit 8c697b5
Show file tree
Hide file tree
Showing 13 changed files with 120 additions and 192 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: Bug report
about: Create a report to help us improve this project
labels: bug-p3
assignees: mrz1836
assignees: rohenaz

---

Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: Feature request
about: Suggest an idea for this project
labels: idea
assignees: mrz1836
assignees: rohenaz

---

Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/question.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: Question
about: 'General template for a question '
labels: question
assignees: mrz1836
assignees: rohenaz

---

Expand Down
8 changes: 4 additions & 4 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ updates:
# Check for npm updates at 9am UTC (5am EST)
time: "10:00"
reviewers:
- "mrz1836"
- "rohenaz"
assignees:
- "mrz1836"
- "rohenaz"
# Labels must be created first
labels:
- "update"
Expand All @@ -25,9 +25,9 @@ updates:
interval: "weekly"
day: "monday"
reviewers:
- "mrz1836"
- "rohenaz"
assignees:
- "mrz1836"
- "rohenaz"
labels:
- "chore"
open-pull-requests-limit: 10
15 changes: 6 additions & 9 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ pull_request_rules:
conditions:
- -draft
- author~=^dependabot(|-preview)\[bot\]$
- check-success='test (1.19.x, ubuntu-latest)'
- check-success='test (1.20.x, ubuntu-latest)'
- check-success='test (1.23.x, ubuntu-latest)'
- check-success='Analyze (go)'
- title~=^Bump [^\s]+ from ([\d]+)\..+ to \1\.
actions:
Expand All @@ -21,13 +20,12 @@ pull_request_rules:
- name: Alert on major version detection
conditions:
- author~=^dependabot(|-preview)\[bot\]$
- check-success='test (1.19.x, ubuntu-latest)'
- check-success='test (1.20.x, ubuntu-latest)'
- check-success='test (1.23.x, ubuntu-latest)'
- check-success='Analyze (go)'
- -title~=^Bump [^\s]+ from ([\d]+)\..+ to \1\.
actions:
comment:
message: "⚠️ @mrz1836: this is a major version bump and requires your attention"
message: "⚠️ @rohenaz: this is a major version bump and requires your attention"

# ===============================================================================
# AUTOMATIC MERGE (APPROVALS)
Expand All @@ -38,8 +36,7 @@ pull_request_rules:
- "#approved-reviews-by>=1"
- "#review-requested=0"
- "#changes-requested-reviews-by=0"
- check-success='test (1.19.x, ubuntu-latest)'
- check-success='test (1.20.x, ubuntu-latest)'
- check-success='test (1.23.x, ubuntu-latest)'
- check-success='Analyze (go)'
- -title~=(?i)wip
- label!=work-in-progress
Expand All @@ -57,7 +54,7 @@ pull_request_rules:
- "#assignee=0"
actions:
assign:
users: [ "mrz1836" ]
users: [ "rohenaz" ]

# ===============================================================================
# ALERTS
Expand Down Expand Up @@ -170,7 +167,7 @@ pull_request_rules:
- and:
- author!=dependabot[bot]
- author!=mergify[bot]
- author!=mrz1836
- author!=rohenaz
- author!=rohenaz
actions:
comment:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.19
go-version: 1.23
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6.0.0
with:
distribution: goreleaser
version: latest
args: release --rm-dist --debug
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Syndicate to GoDocs
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
test:
strategy:
matrix:
go-version: [ 1.19.x , 1.20.x ]
go-version: [ 1.23.x ]
os: [ ubuntu-latest ]
runs-on: ${{ matrix.os }}
steps:
Expand Down
Loading

0 comments on commit 8c697b5

Please sign in to comment.