27
27
- " include/zephyr/net/ieee802154*"
28
28
- " drivers/serial/*nrfx*"
29
29
- " tests/drivers/uart/**"
30
+ - ' !**.rst'
31
+
32
+ permissions :
33
+ contents : read
30
34
31
35
concurrency :
32
36
group : ${{ github.workflow }}-${{ github.event_name }}-${{ github.head_ref || github.ref }}
45
49
BSIM_OUT_PATH : /opt/bsim/
46
50
BSIM_COMPONENTS_PATH : /opt/bsim/components
47
51
EDTT_PATH : ../tools/edtt
52
+ permissions :
53
+ checks : write # to create the check run entry with test results
54
+
48
55
steps :
49
56
- name : Apply container owner mismatch workaround
50
57
run : |
67
74
git remote set-url origin ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}
68
75
69
76
- name : Checkout
70
- uses : actions/checkout@v4
77
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
71
78
with :
72
79
fetch-depth : 0
73
80
91
98
echo "ZEPHYR_SDK_INSTALL_DIR=/opt/toolchains/zephyr-sdk-$( cat SDK_VERSION )" >> $GITHUB_ENV
92
99
93
100
- name : Check common triggering files
94
- uses : tj-actions/changed-files@v45
101
+ uses : tj-actions/changed-files@823fcebdb31bb35fdf2229d9f769b400309430d0 # v46.0.3
95
102
id : check-common-files
96
103
with :
97
104
files : |
@@ -110,7 +117,7 @@ jobs:
110
117
modules/hal_nordic/**
111
118
112
119
- name : Check if Bluethooth files changed
113
- uses : tj-actions/changed-files@v45
120
+ uses : tj-actions/changed-files@823fcebdb31bb35fdf2229d9f769b400309430d0 # v46.0.3
114
121
id : check-bluetooth-files
115
122
with :
116
123
files : |
@@ -119,7 +126,7 @@ jobs:
119
126
subsys/bluetooth/
120
127
121
128
- name : Check if Networking files changed
122
- uses : tj-actions/changed-files@v45
129
+ uses : tj-actions/changed-files@823fcebdb31bb35fdf2229d9f769b400309430d0 # v46.0.3
123
130
id : check-networking-files
124
131
with :
125
132
files : |
@@ -132,7 +139,7 @@ jobs:
132
139
include/zephyr/net/ieee802154*
133
140
134
141
- name : Check if UART files changed
135
- uses : tj-actions/changed-files@v45
142
+ uses : tj-actions/changed-files@823fcebdb31bb35fdf2229d9f769b400309430d0 # v46.0.3
136
143
id : check-uart-files
137
144
with :
138
145
files : |
@@ -172,29 +179,28 @@ jobs:
172
179
173
180
- name : Merge Test Results
174
181
run : |
175
- pip install junitparser junit2html
176
182
junitparser merge --glob "./bsim_*/*bsim_results.*.xml" "./twister-out/twister.xml" junit.xml
177
183
junit2html junit.xml junit.html
178
184
179
185
- name : Upload Unit Test Results in HTML
180
186
if : always()
181
- uses : actions/upload-artifact@v4
187
+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
182
188
with :
183
189
name : HTML Unit Test Results
184
190
if-no-files-found : ignore
185
191
path : |
186
192
junit.html
187
193
188
194
- name : Publish Unit Test Results
189
- uses : EnricoMi/publish-unit-test-result-action@v2
195
+ uses : EnricoMi/publish-unit-test-result-action@170bf24d20d201b842d7a52403b73ed297e6645b # v2.18.0
190
196
with :
191
197
check_name : Bsim Test Results
192
198
files : " junit.xml"
193
199
comment_mode : off
194
200
195
201
- name : Upload Event Details
196
202
if : always()
197
- uses : actions/upload-artifact@v4
203
+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
198
204
with :
199
205
name : event
200
206
path : |
0 commit comments