28
28
- " drivers/serial/*nrfx*"
29
29
- " tests/drivers/uart/**"
30
30
31
+ permissions :
32
+ contents : read
33
+
31
34
concurrency :
32
35
group : ${{ github.workflow }}-${{ github.event_name }}-${{ github.head_ref || github.ref }}
33
36
cancel-in-progress : true
45
48
BSIM_OUT_PATH : /opt/bsim/
46
49
BSIM_COMPONENTS_PATH : /opt/bsim/components
47
50
EDTT_PATH : ../tools/edtt
51
+ permissions :
52
+ checks : write # to create the check run entry with test results
53
+
48
54
steps :
49
55
- name : Apply container owner mismatch workaround
50
56
run : |
67
73
git remote set-url origin ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}
68
74
69
75
- name : Checkout
70
- uses : actions/checkout@v4
76
+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
71
77
with :
72
78
fetch-depth : 0
73
79
91
97
echo "ZEPHYR_SDK_INSTALL_DIR=/opt/toolchains/zephyr-sdk-$( cat SDK_VERSION )" >> $GITHUB_ENV
92
98
93
99
- name : Check common triggering files
94
- uses : tj-actions/changed-files@v45
100
+ uses : tj-actions/changed-files@2f7c5bfce28377bc069a65ba478de0a74aa0ca32 # v46.0.1
95
101
id : check-common-files
96
102
with :
97
103
files : |
@@ -110,7 +116,7 @@ jobs:
110
116
modules/hal_nordic/**
111
117
112
118
- name : Check if Bluethooth files changed
113
- uses : tj-actions/changed-files@v45
119
+ uses : tj-actions/changed-files@2f7c5bfce28377bc069a65ba478de0a74aa0ca32 # v46.0.1
114
120
id : check-bluetooth-files
115
121
with :
116
122
files : |
@@ -119,7 +125,7 @@ jobs:
119
125
subsys/bluetooth/
120
126
121
127
- name : Check if Networking files changed
122
- uses : tj-actions/changed-files@v45
128
+ uses : tj-actions/changed-files@2f7c5bfce28377bc069a65ba478de0a74aa0ca32 # v46.0.1
123
129
id : check-networking-files
124
130
with :
125
131
files : |
@@ -132,7 +138,7 @@ jobs:
132
138
include/zephyr/net/ieee802154*
133
139
134
140
- name : Check if UART files changed
135
- uses : tj-actions/changed-files@v45
141
+ uses : tj-actions/changed-files@2f7c5bfce28377bc069a65ba478de0a74aa0ca32 # v46.0.1
136
142
id : check-uart-files
137
143
with :
138
144
files : |
@@ -178,23 +184,23 @@ jobs:
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@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
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@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
198
204
with :
199
205
name : event
200
206
path : |
0 commit comments