File tree Expand file tree Collapse file tree 5 files changed +5
-10
lines changed Expand file tree Collapse file tree 5 files changed +5
-10
lines changed Original file line number Diff line number Diff line change 11
11
pre-commit :
12
12
runs-on : ubuntu-20.04
13
13
steps :
14
- - uses : actions/checkout@v3
14
+ - uses : actions/checkout@v4
15
15
- uses : actions/setup-python@v5
16
16
with :
17
17
python-version : ' 3.x'
Original file line number Diff line number Diff line change 40
40
- os : " rockylinux8"
41
41
steps :
42
42
- name : checkout
43
- uses : actions/checkout@v3
43
+ uses : actions/checkout@v4
44
44
with :
45
45
path : " ${{ github.repository }}"
46
46
Original file line number Diff line number Diff line change 31
31
- name : Check Runner
32
32
ansible.builtin.assert :
33
33
that :
34
- - runner_name in registered_runners.json.runners|map(attribute='name')|list
35
- - registered_runners.json.runners|map(attribute='status') == ["online"]
34
+ - registered_runners.json.runners.0.status == "online"
36
35
quiet : true
37
36
38
37
- name : Check Labels (skipped if labels are OK)
Original file line number Diff line number Diff line change 31
31
- name : Check Runner
32
32
ansible.builtin.assert :
33
33
that :
34
- - runner_name in registered_runners.json.runners|map(attribute='name')|list
34
+ - registered_runners.json.runners.0.status == "offline"
35
35
quiet : true
Original file line number Diff line number Diff line change 28
28
force_basic_auth : yes
29
29
register : registered_runners
30
30
31
- - name : Debug | var registered_runners
32
- ansible.builtin.debug :
33
- var : registered_runners.json.runners|map(attribute='status')
34
-
35
31
- name : Check Runner
36
32
ansible.builtin.assert :
37
33
that :
38
- - runner_name in registered_runners.json.runners|map(attribute='name')|list
34
+ - registered_runners.json.runners.0.status == "online"
39
35
quiet : true
40
36
41
37
- name : Check Labels (skipped if labels are OK)
You can’t perform that action at this time.
0 commit comments