Skip to content

Commit ad11aeb

Browse files
authored
build(workflow): update runner group (#191)
1 parent da9966e commit ad11aeb

File tree

4 files changed

+29
-17
lines changed

4 files changed

+29
-17
lines changed

.github/workflows/commands-handler.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Commands processor
22

33
on:
44
issue_comment:
5-
types: [created]
5+
types: [ created ]
66
defaults:
77
run:
88
shell: bash
@@ -11,7 +11,8 @@ jobs:
1111
process:
1212
name: Process command
1313
if: github.event.issue.pull_request && endsWith(github.repository, '-private') != true
14-
runs-on: ubuntu-latest
14+
runs-on:
15+
group: organization/Default
1516
steps:
1617
- name: Check referred user
1718
id: user-check

.github/workflows/release.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@ name: Automated product release
22

33
on:
44
pull_request:
5-
branches: [master]
6-
types: [closed]
5+
branches: [ master ]
6+
types: [ closed ]
77

88
jobs:
99
check-release:
1010
name: Check release required
11-
runs-on: ubuntu-latest
11+
runs-on:
12+
group: organization/Default
1213
if: github.event.pull_request.merged && endsWith(github.repository, '-private') != true
1314
outputs:
1415
release: ${{ steps.check.outputs.ready }}
@@ -27,7 +28,8 @@ jobs:
2728
token: ${{ secrets.GH_TOKEN }}
2829
publish:
2930
name: Publish package
30-
runs-on: ubuntu-latest
31+
runs-on:
32+
group: organization/Default
3133
needs: check-release
3234
if: needs.check-release.outputs.release == 'true'
3335
steps:

.github/workflows/run-tests.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ env:
1919
jobs:
2020
tests:
2121
name: Unit tests
22-
runs-on: ubuntu-latest
22+
runs-on:
23+
group: organization/Default
2324
steps:
2425
- name: Checkout repository
2526
uses: actions/checkout@v3
@@ -34,7 +35,8 @@ jobs:
3435
# uses: ./.github/.release/actions/actions/utils/fast-jobs-failure
3536
acceptance-tests:
3637
name: Acceptance tests
37-
runs-on: ubuntu-latest
38+
runs-on:
39+
group: organization/Default
3840
steps:
3941
- name: Checkout project
4042
uses: actions/checkout@v3
@@ -63,8 +65,9 @@ jobs:
6365
retention-days: 7
6466
all-tests:
6567
name: Tests
66-
runs-on: ubuntu-latest
67-
needs: [tests, acceptance-tests]
68+
runs-on:
69+
group: organization/Default
70+
needs: [ tests, acceptance-tests ]
6871
steps:
6972
- name: Tests summary
7073
run: echo -e "\033[38;2;95;215;0m\033[1mAll tests successfully passed"

.github/workflows/run-validations.yml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ env:
1919
jobs:
2020
# pubnub-yml:
2121
# name: "Validate .pubnub.yml"
22-
# runs-on: ubuntu-latest
22+
# runs-on:
23+
# group: organization/Default
2324
# steps:
2425
# - name: Checkout project
2526
# uses: actions/checkout@v3
@@ -40,7 +41,8 @@ jobs:
4041

4142
linters:
4243
name: Launch all cargo linters to check condition of the code
43-
runs-on: ubuntu-latest
44+
runs-on:
45+
group: organization/Default
4446
steps:
4547
- uses: actions/checkout@v3
4648

@@ -68,7 +70,8 @@ jobs:
6870
6971
cargo-deny:
7072
name: Check Cargo crate dependencies
71-
runs-on: ubuntu-latest
73+
runs-on:
74+
group: organization/Default
7275
strategy:
7376
matrix:
7477
checks:
@@ -84,7 +87,8 @@ jobs:
8487

8588
wasm-target:
8689
name: Check if Web Assembly target compiles as expected
87-
runs-on: ubuntu-latest
90+
runs-on:
91+
group: organization/Default
8892
steps:
8993
- uses: actions/checkout@v3
9094

@@ -102,7 +106,8 @@ jobs:
102106

103107
no_std-target:
104108
name: Check if `no_std` target compiles as expected
105-
runs-on: ubuntu-latest
109+
runs-on:
110+
group: organization/Default
106111
steps:
107112
- uses: actions/checkout@v3
108113

@@ -126,8 +131,9 @@ jobs:
126131

127132
all-validations:
128133
name: Validations
129-
runs-on: ubuntu-latest
130-
needs: [linters, cargo-deny, wasm-target, no_std-target]
134+
runs-on:
135+
group: organization/Default
136+
needs: [ linters, cargo-deny, wasm-target, no_std-target ]
131137
steps:
132138
- name: Validations summary
133139
run: echo -e "\033[38;2;95;215;0m\033[1mAll validations passed"

0 commit comments

Comments
 (0)