9
9
name : Build & Test on Ubuntu
10
10
runs-on : ubuntu-latest
11
11
steps :
12
- - uses : actions/checkout@v3
13
- - uses : actions/setup-node@v3
12
+ - uses : actions/checkout@v4
13
+ - uses : actions/setup-node@v4
14
14
with :
15
- node-version : ' 14 '
15
+ node-version : ' 20 '
16
16
- name : Install GCC & GDB & other build essentials
17
17
run : |
18
18
sudo apt-get update
@@ -30,13 +30,13 @@ jobs:
30
30
- name : Test
31
31
run : yarn test-ci
32
32
- name : Log file artifacts
33
- uses : actions/upload-artifact@v3
33
+ uses : actions/upload-artifact@v4
34
34
if : success() || failure()
35
35
with :
36
36
name : test-logs-ubuntu
37
37
path : test-logs/
38
38
- name : Publish Test Report
39
- uses : mikepenz/action-junit-report@v3
39
+ uses : mikepenz/action-junit-report@v5
40
40
if : success() || failure()
41
41
with :
42
42
commit : ${{github.event.workflow_run.head_sha}}
@@ -50,10 +50,10 @@ jobs:
50
50
name : Build & Test on Windows
51
51
runs-on : windows-latest
52
52
steps :
53
- - uses : actions/checkout@v3
54
- - uses : actions/setup-node@v3
53
+ - uses : actions/checkout@v4
54
+ - uses : actions/setup-node@v4
55
55
with :
56
- node-version : ' 14 '
56
+ node-version : ' 20 '
57
57
- name : Install GCC & GDB & other build essentials
58
58
run : |
59
59
choco install mingw
@@ -71,14 +71,13 @@ jobs:
71
71
- name : Test
72
72
run : yarn test-ci
73
73
- name : Log file artifacts
74
- uses : actions/upload-artifact@v3
74
+ uses : actions/upload-artifact@v4
75
75
if : success() || failure()
76
76
with :
77
77
name : test-logs-windows
78
78
path : test-logs/
79
79
- name : Publish Test Report
80
- uses : mikepenz/action-junit-report@v3
81
- if : success() || failure()
80
+ uses : mikepenz/action-junit-report@v5
82
81
with :
83
82
commit : ${{github.event.workflow_run.head_sha}}
84
83
report_paths : ' test-reports/*.xml'
0 commit comments