@@ -22,32 +22,24 @@ jobs:
22
22
- name : Checkout code
23
23
uses : actions/checkout@v4
24
24
- name : Setup Node.js
25
- uses : actions/setup-node@v3
25
+ uses : actions/setup-node@v4
26
26
with :
27
27
node-version : " 20"
28
28
- name : Setup Go
29
29
uses : actions/setup-go@v2
30
30
with :
31
- go-version : 1.21
31
+ go-version : 1.23
32
32
- name : Install Dependencies
33
- run : >
33
+ run : |
34
34
sudo add-apt-repository -y ppa:ethereum/ethereum
35
-
36
35
sudo apt-get update
37
-
38
36
sudo apt-get install -y npm ethereum
39
-
40
37
npm install
38
+ go install github.com/ethereum/go-ethereum/cmd/[email protected]
39
+ go install github.com/mattn/[email protected]
40
+ go install github.com/ory/[email protected]
41
+ go install github.com/golangci/golangci-lint/cmd/[email protected]
41
42
42
- go get -d github.com/ethereum/[email protected] \
43
-
44
- && go install github.com/ethereum/go-ethereum/cmd/[email protected] \
45
-
46
- && go install github.com/mattn/[email protected] \
47
-
48
- && go install github.com/ory/[email protected] \
49
-
50
- && go install github.com/golangci/golangci-lint/cmd/[email protected]
51
43
- name : Run make setup for mainnet
52
44
run : make setup
53
45
- name : Run gofmt
70
62
env :
71
63
COVERALLS_TOKEN : ${{ secrets.GITHUB_TOKEN }}
72
64
run : goveralls -coverprofile=coverage.txt -service=github
73
- - uses : bissolli/gh-action-persist-workspace@v1
65
+ - uses : bissolli/gh-action-persist-workspace@v2
74
66
with :
75
67
action : persist
76
68
@@ -83,34 +75,25 @@ jobs:
83
75
uses : actions/checkout@v4
84
76
85
77
- name : Setup Node.js
86
- uses : actions/setup-node@v3
78
+ uses : actions/setup-node@v4
87
79
with :
88
80
node-version : " 20"
89
81
90
82
- name : Setup Go
91
83
uses : actions/setup-go@v2
92
84
with :
93
- go-version : 1.21
85
+ go-version : 1.23
94
86
95
87
- name : Install Dependencies
96
- run : >
88
+ run : |
97
89
sudo add-apt-repository -y ppa:ethereum/ethereum
98
-
99
90
sudo apt-get update
100
-
101
91
sudo apt-get install -y npm ethereum
102
-
103
92
npm install
104
-
105
- go get -d github.com/ethereum/[email protected] \
106
-
107
- && go install github.com/ethereum/go-ethereum/cmd/[email protected] \
108
-
109
- && go install github.com/mattn/[email protected] \
110
-
111
- && go install github.com/ory/[email protected] \
112
-
113
- && go install github.com/golangci/golangci-lint/cmd/[email protected]
93
+ go install github.com/ethereum/go-ethereum/cmd/[email protected]
94
+ go install github.com/mattn/[email protected]
95
+ go install github.com/ory/[email protected]
96
+ go install github.com/golangci/golangci-lint/cmd/[email protected]
114
97
115
98
- name : Create AMD Artifact
116
99
run : |
@@ -122,7 +105,7 @@ jobs:
122
105
mv razor_go.linux-amd64.tar.gz ../../
123
106
124
107
- name : Upload AMD Artifact
125
- uses : actions/upload-artifact@v3
108
+ uses : actions/upload-artifact@v4
126
109
with :
127
110
name : razor_go.linux-amd64.tar.gz
128
111
path : razor_go.linux-amd64.tar.gz
@@ -134,34 +117,25 @@ jobs:
134
117
uses : actions/checkout@v4
135
118
136
119
- name : Setup Node.js
137
- uses : actions/setup-node@v3
120
+ uses : actions/setup-node@v4
138
121
with :
139
122
node-version : " 20"
140
123
141
124
- name : Setup Go
142
125
uses : actions/setup-go@v2
143
126
with :
144
- go-version : 1.21
127
+ go-version : 1.23
145
128
146
129
- name : Install Dependencies
147
- run : >
130
+ run : |
148
131
sudo add-apt-repository -y ppa:ethereum/ethereum
149
-
150
132
sudo apt-get update
151
-
152
133
sudo apt-get install -y npm ethereum
153
-
154
134
npm install
155
-
156
- go get -d github.com/ethereum/[email protected] \
157
-
158
- && go install github.com/ethereum/go-ethereum/cmd/[email protected] \
159
-
160
- && go install github.com/mattn/[email protected] \
161
-
162
- && go install github.com/ory/[email protected] \
163
-
164
- && go install github.com/golangci/golangci-lint/cmd/[email protected]
135
+ go install github.com/ethereum/go-ethereum/cmd/[email protected]
136
+ go install github.com/mattn/[email protected]
137
+ go install github.com/ory/[email protected]
138
+ go install github.com/golangci/golangci-lint/cmd/[email protected]
165
139
166
140
- name : Create ARM Artifact
167
141
run : |
@@ -173,7 +147,7 @@ jobs:
173
147
mv razor_go.linux-arm64.tar.gz ../../
174
148
175
149
- name : Upload ARM Artifact
176
- uses : actions/upload-artifact@v3
150
+ uses : actions/upload-artifact@v4
177
151
with :
178
152
name : razor_go.linux-arm64.tar.gz
179
153
path : razor_go.linux-arm64.tar.gz
@@ -192,17 +166,17 @@ jobs:
192
166
fetch-depth : 0
193
167
194
168
- name : Setup Node.js
195
- uses : actions/setup-node@v3
169
+ uses : actions/setup-node@v4
196
170
with :
197
171
node-version : " 20"
198
172
199
173
- name : Download Artifacts AMD
200
- uses : actions/download-artifact@v3
174
+ uses : actions/download-artifact@v4
201
175
with :
202
176
name : razor_go.linux-amd64.tar.gz
203
177
204
178
- name : Download Artifacts ARM
205
- uses : actions/download-artifact@v3
179
+ uses : actions/download-artifact@v4
206
180
with :
207
181
name : razor_go.linux-arm64.tar.gz
208
182
0 commit comments