File tree Expand file tree Collapse file tree 4 files changed +11
-11
lines changed Expand file tree Collapse file tree 4 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 1
- # This file was copied from the following URL and modified:
2
- # https://github.com/golangci/golangci-lint-action/blob/master/README.md#how-to-use
3
-
4
1
name : golangci-lint
5
2
on :
6
3
push :
22
19
- uses : actions/checkout@v4
23
20
- uses : actions/setup-go@v5
24
21
with :
25
- go-version : 1.21.x
26
- cache : false
22
+ go-version : 1.23.x
27
23
- name : golangci-lint
28
24
uses : golangci/golangci-lint-action@v6
29
25
with :
30
- version : v1.54 # current version at time of commit
31
- args : --timeout=10m
32
- # Only show new issues in a PR but show all issues for pushes
33
26
only-new-issues : ${{ github.event_name == 'pull_request' && 'true' || 'false' }}
Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ concurrency: ${{ github.ref }}
11
11
jobs :
12
12
create-draft-release :
13
13
runs-on : ubuntu-latest
14
+ permissions :
15
+ contents : write
14
16
outputs :
15
17
RELEASE_ID : ${{ steps.create-release.outputs.result }}
16
18
steps :
60
62
fetch-depth : ' 0'
61
63
- uses : actions/setup-go@v5
62
64
with :
63
- go-version : 1.21 .x
65
+ go-version : 1.23 .x
64
66
- name : Build binary
65
67
run : GOOS=${{ matrix.os }} GOARCH=${{ matrix.arch }} make build
66
68
- name : Upload release asset
@@ -157,6 +159,8 @@ jobs:
157
159
158
160
finalize-release :
159
161
runs-on : ubuntu-latest
162
+ permissions :
163
+ contents : write
160
164
needs : [create-draft-release, build-binaries, build-images]
161
165
steps :
162
166
- uses : actions/github-script@v7
Original file line number Diff line number Diff line change 1
1
module github.com/blinklabs-io/tx-submit-api-mirror
2
2
3
- go 1.22.11
3
+ go 1.23.6
4
4
5
5
require (
6
6
github.com/blinklabs-io/cardano-models v0.4.0
Original file line number Diff line number Diff line change @@ -217,7 +217,10 @@ func handleSubmitTx(c *gin.Context) {
217
217
if cfg .Maestro .ApiKey != "" {
218
218
go func (cfg * config.Config , rawTx []byte ) {
219
219
txHex := hex .EncodeToString (rawTx )
220
- maestroClient := maestro .NewClient (cfg .Maestro .ApiKey , cfg .Maestro .Network )
220
+ maestroClient := maestro .NewClient (
221
+ cfg .Maestro .ApiKey ,
222
+ cfg .Maestro .Network ,
223
+ )
221
224
startTime := time .Now ()
222
225
if cfg .Maestro .TurboTx {
223
226
_ , err := maestroClient .TxManagerSubmitTurbo (txHex )
You can’t perform that action at this time.
0 commit comments