Skip to content

Commit 0243b54

Browse files
authored
refactor: added tests for rpc module (#1266)
* refactor: added tests for RPC module * Revert "refactor: added tests for RPC module" This reverts commit bac5b3b. * reafctor: added tests for rpc module using httpstest servers * ci: updated artifact version for binary downloads and uploads * ci: fixed ci by updateing action versions * reafctor: replaced ts.cancel() with t.Cleanup(func() { ts1.Close() })
1 parent c12a45a commit 0243b54

File tree

4 files changed

+333
-13
lines changed

4 files changed

+333
-13
lines changed

.github/workflows/ci.yml

+9-9
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Checkout code
2323
uses: actions/checkout@v4
2424
- name: Setup Node.js
25-
uses: actions/setup-node@v3
25+
uses: actions/setup-node@v4
2626
with:
2727
node-version: "20"
2828
- name: Setup Go
@@ -62,7 +62,7 @@ jobs:
6262
env:
6363
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6464
run: goveralls -coverprofile=coverage.txt -service=github
65-
- uses: bissolli/gh-action-persist-workspace@v1
65+
- uses: bissolli/gh-action-persist-workspace@v2
6666
with:
6767
action: persist
6868

@@ -75,7 +75,7 @@ jobs:
7575
uses: actions/checkout@v4
7676

7777
- name: Setup Node.js
78-
uses: actions/setup-node@v3
78+
uses: actions/setup-node@v4
7979
with:
8080
node-version: "20"
8181

@@ -105,7 +105,7 @@ jobs:
105105
mv razor_go.linux-amd64.tar.gz ../../
106106
107107
- name: Upload AMD Artifact
108-
uses: actions/upload-artifact@v3
108+
uses: actions/upload-artifact@v4
109109
with:
110110
name: razor_go.linux-amd64.tar.gz
111111
path: razor_go.linux-amd64.tar.gz
@@ -117,7 +117,7 @@ jobs:
117117
uses: actions/checkout@v4
118118

119119
- name: Setup Node.js
120-
uses: actions/setup-node@v3
120+
uses: actions/setup-node@v4
121121
with:
122122
node-version: "20"
123123

@@ -147,7 +147,7 @@ jobs:
147147
mv razor_go.linux-arm64.tar.gz ../../
148148
149149
- name: Upload ARM Artifact
150-
uses: actions/upload-artifact@v3
150+
uses: actions/upload-artifact@v4
151151
with:
152152
name: razor_go.linux-arm64.tar.gz
153153
path: razor_go.linux-arm64.tar.gz
@@ -166,17 +166,17 @@ jobs:
166166
fetch-depth: 0
167167

168168
- name: Setup Node.js
169-
uses: actions/setup-node@v3
169+
uses: actions/setup-node@v4
170170
with:
171171
node-version: "20"
172172

173173
- name: Download Artifacts AMD
174-
uses: actions/download-artifact@v3
174+
uses: actions/download-artifact@v4
175175
with:
176176
name: razor_go.linux-amd64.tar.gz
177177

178178
- name: Download Artifacts ARM
179-
uses: actions/download-artifact@v3
179+
uses: actions/download-artifact@v4
180180
with:
181181
name: razor_go.linux-arm64.tar.gz
182182

.github/workflows/develop.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Checkout code
1717
uses: actions/checkout@v4
1818
- name: Setup Node.js
19-
uses: actions/setup-node@v3
19+
uses: actions/setup-node@v4
2020
with:
2121
node-version: "20"
2222
- name: Setup Go
@@ -68,7 +68,7 @@ jobs:
6868
env:
6969
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7070
run: goveralls -coverprofile=coverage.txt -service=github
71-
- uses: bissolli/gh-action-persist-workspace@v1
71+
- uses: bissolli/gh-action-persist-workspace@v2
7272
with:
7373
action: persist
7474

.github/workflows/release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Checkout code
1414
uses: actions/checkout@v4
1515
- name: Setup Node.js
16-
uses: actions/setup-node@v3
16+
uses: actions/setup-node@v4
1717
with:
1818
node-version: "20"
1919
- name: Setup Go
@@ -65,7 +65,7 @@ jobs:
6565
env:
6666
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6767
run: goveralls -coverprofile=coverage.txt -service=github
68-
- uses: bissolli/gh-action-persist-workspace@v1
68+
- uses: bissolli/gh-action-persist-workspace@v2
6969
with:
7070
action: persist
7171

0 commit comments

Comments
 (0)