Skip to content

Commit 3414bcd

Browse files
authored
Merge pull request #56 from BitcoinSchema/update-go-sdk
Update go sdk
2 parents 1e3732f + 6f07e50 commit 3414bcd

File tree

10 files changed

+20
-19
lines changed

10 files changed

+20
-19
lines changed

.github/mergify.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ pull_request_rules:
88
conditions:
99
- -draft
1010
- author~=^dependabot(|-preview)\[bot\]$
11-
- check-success='test (1.23.x, ubuntu-latest)'
11+
- check-success='test (1.24.x, ubuntu-latest)'
1212
- check-success='Analyze (go)'
1313
- title~=^Bump [^\s]+ from ([\d]+)\..+ to \1\.
1414
actions:
@@ -20,7 +20,7 @@ pull_request_rules:
2020
- name: Alert on major version detection
2121
conditions:
2222
- author~=^dependabot(|-preview)\[bot\]$
23-
- check-success='test (1.23.x, ubuntu-latest)'
23+
- check-success='test (1.24.x, ubuntu-latest)'
2424
- check-success='Analyze (go)'
2525
- -title~=^Bump [^\s]+ from ([\d]+)\..+ to \1\.
2626
actions:
@@ -36,7 +36,7 @@ pull_request_rules:
3636
- "#approved-reviews-by>=1"
3737
- "#review-requested=0"
3838
- "#changes-requested-reviews-by=0"
39-
- check-success='test (1.23.x, ubuntu-latest)'
39+
- check-success='test (1.24.x, ubuntu-latest)'
4040
- check-success='Analyze (go)'
4141
- -title~=(?i)wip
4242
- label!=work-in-progress

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Set up Go
2424
uses: actions/setup-go@v5
2525
with:
26-
go-version: 1.23
26+
go-version: 1.24
2727
- name: Run GoReleaser
2828
uses: goreleaser/goreleaser-action@v6.2.1
2929
with:

.github/workflows/run-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
test:
1616
strategy:
1717
matrix:
18-
go-version: [ 1.23.x ]
18+
go-version: [ 1.24.x ]
1919
os: [ ubuntu-latest ]
2020
runs-on: ${{ matrix.os }}
2121
steps:

.make/go.mk

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,15 @@ install-go: ## Install the application (Using Native Go)
6767
lint: ## Run the golangci-lint application (install if not found)
6868
@echo "installing golangci-lint..."
6969
@#Travis (has sudo)
70-
@if [ "$(shell command -v golangci-lint)" = "" ] && [ $(TRAVIS) ]; then curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.61.0 && sudo cp ./bin/golangci-lint $(go env GOPATH)/bin/; fi;
70+
@if [ "$(shell command -v golangci-lint)" = "" ] && [ $(TRAVIS) ]; then curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.64.8 && sudo cp ./bin/golangci-lint $(go env GOPATH)/bin/; fi;
7171
@#AWS CodePipeline
72-
@if [ "$(shell command -v golangci-lint)" = "" ] && [ "$(CODEBUILD_BUILD_ID)" != "" ]; then curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.61.0; fi;
72+
@if [ "$(shell command -v golangci-lint)" = "" ] && [ "$(CODEBUILD_BUILD_ID)" != "" ]; then curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.64.8; fi;
7373
@#GitHub Actions
74-
@if [ "$(shell command -v golangci-lint)" = "" ] && [ "$(GITHUB_WORKFLOW)" != "" ]; then curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sudo sh -s -- -b $(go env GOPATH)/bin v1.61.0; fi;
74+
@if [ "$(shell command -v golangci-lint)" = "" ] && [ "$(GITHUB_WORKFLOW)" != "" ]; then curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sudo sh -s -- -b $(go env GOPATH)/bin v1.64.8; fi;
7575
@#Brew - MacOS
7676
@if [ "$(shell command -v golangci-lint)" = "" ] && [ "$(shell command -v brew)" != "" ]; then brew install golangci-lint; fi;
7777
@#MacOS Vanilla
78-
@if [ "$(shell command -v golangci-lint)" = "" ] && [ "$(shell command -v brew)" != "" ]; then curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- v1.61.0; fi;
78+
@if [ "$(shell command -v golangci-lint)" = "" ] && [ "$(shell command -v brew)" != "" ]; then curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- v1.64.8; fi;
7979
@echo "running golangci-lint..."
8080
@golangci-lint run --verbose
8181

bpu.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import (
77
"errors"
88
"fmt"
99

10-
"github.com/bitcoin-sv/go-sdk/script"
11-
"github.com/bitcoin-sv/go-sdk/transaction"
10+
"github.com/bsv-blockchain/go-sdk/script"
11+
"github.com/bsv-blockchain/go-sdk/transaction"
1212
)
1313

1414
// Parse is the main transformation function for the bpu package

bpu_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ import (
66
"testing"
77
"unicode"
88

9-
"github.com/bitcoin-sv/go-sdk/script"
10-
"github.com/bitcoin-sv/go-sdk/transaction"
119
"github.com/bitcoinschema/go-bpu/test"
10+
"github.com/bsv-blockchain/go-sdk/script"
11+
"github.com/bsv-blockchain/go-sdk/transaction"
1212
"github.com/stretchr/testify/assert"
1313
)
1414

go.mod

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
module github.com/bitcoinschema/go-bpu
22

3-
go 1.23.1
3+
go 1.24.0
4+
45
toolchain go1.24.1
56

67
require (
7-
github.com/bitcoin-sv/go-sdk v1.1.21
8+
github.com/bsv-blockchain/go-sdk v1.1.22
89
github.com/stretchr/testify v1.10.0
910
)
1011

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
github.com/bitcoin-sv/go-sdk v1.1.21 h1:FzpjGohFuxC3KJSvdfk1GAXtUykm6tPFo3mf7+xtj9A=
2-
github.com/bitcoin-sv/go-sdk v1.1.21/go.mod h1:AtXmBimazAxAn9Kwp/eAdm6iRrj07c8L0IQs1q5EsMk=
1+
github.com/bsv-blockchain/go-sdk v1.1.22 h1:R5o9spVEfCAt64We1CdyHkCuYT1sdTSfKXp3R10UMkI=
2+
github.com/bsv-blockchain/go-sdk v1.1.22/go.mod h1:d0HXzhHy21t+7z+LBpDhGyJSBJb8S5HiAmHsBtRKddQ=
33
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
44
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
55
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=

types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package bpu
22

33
import (
4-
"github.com/bitcoin-sv/go-sdk/transaction"
4+
"github.com/bsv-blockchain/go-sdk/transaction"
55
)
66

77
// IncludeType is the type of include

xput.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"encoding/hex"
66
"unicode"
77

8-
"github.com/bitcoin-sv/go-sdk/script"
8+
"github.com/bsv-blockchain/go-sdk/script"
99
)
1010

1111
// "XPut" refers to "inut or output"

0 commit comments

Comments
 (0)