Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update runner group #191

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/commands-handler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Commands processor

on:
issue_comment:
types: [created]
types: [ created ]
defaults:
run:
shell: bash
Expand All @@ -11,7 +11,8 @@ jobs:
process:
name: Process command
if: github.event.issue.pull_request && endsWith(github.repository, '-private') != true
runs-on: ubuntu-latest
runs-on:
group: organization/Default
steps:
- name: Check referred user
id: user-check
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@ name: Automated product release

on:
pull_request:
branches: [master]
types: [closed]
branches: [ master ]
types: [ closed ]

jobs:
check-release:
name: Check release required
runs-on: ubuntu-latest
runs-on:
group: organization/Default
if: github.event.pull_request.merged && endsWith(github.repository, '-private') != true
outputs:
release: ${{ steps.check.outputs.ready }}
Expand All @@ -27,7 +28,8 @@ jobs:
token: ${{ secrets.GH_TOKEN }}
publish:
name: Publish package
runs-on: ubuntu-latest
runs-on:
group: organization/Default
needs: check-release
if: needs.check-release.outputs.release == 'true'
steps:
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ env:
jobs:
tests:
name: Unit tests
runs-on: ubuntu-latest
runs-on:
group: organization/Default
steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand All @@ -34,7 +35,8 @@ jobs:
# uses: ./.github/.release/actions/actions/utils/fast-jobs-failure
acceptance-tests:
name: Acceptance tests
runs-on: ubuntu-latest
runs-on:
group: organization/Default
steps:
- name: Checkout project
uses: actions/checkout@v3
Expand Down Expand Up @@ -63,8 +65,9 @@ jobs:
retention-days: 7
all-tests:
name: Tests
runs-on: ubuntu-latest
needs: [tests, acceptance-tests]
runs-on:
group: organization/Default
needs: [ tests, acceptance-tests ]
steps:
- name: Tests summary
run: echo -e "\033[38;2;95;215;0m\033[1mAll tests successfully passed"
20 changes: 13 additions & 7 deletions .github/workflows/run-validations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ env:
jobs:
# pubnub-yml:
# name: "Validate .pubnub.yml"
# runs-on: ubuntu-latest
# runs-on:
# group: organization/Default
# steps:
# - name: Checkout project
# uses: actions/checkout@v3
Expand All @@ -40,7 +41,8 @@ jobs:

linters:
name: Launch all cargo linters to check condition of the code
runs-on: ubuntu-latest
runs-on:
group: organization/Default
steps:
- uses: actions/checkout@v3

Expand Down Expand Up @@ -68,7 +70,8 @@ jobs:

cargo-deny:
name: Check Cargo crate dependencies
runs-on: ubuntu-latest
runs-on:
group: organization/Default
strategy:
matrix:
checks:
Expand All @@ -84,7 +87,8 @@ jobs:

wasm-target:
name: Check if Web Assembly target compiles as expected
runs-on: ubuntu-latest
runs-on:
group: organization/Default
steps:
- uses: actions/checkout@v3

Expand All @@ -102,7 +106,8 @@ jobs:

no_std-target:
name: Check if `no_std` target compiles as expected
runs-on: ubuntu-latest
runs-on:
group: organization/Default
steps:
- uses: actions/checkout@v3

Expand All @@ -126,8 +131,9 @@ jobs:

all-validations:
name: Validations
runs-on: ubuntu-latest
needs: [linters, cargo-deny, wasm-target, no_std-target]
runs-on:
group: organization/Default
needs: [ linters, cargo-deny, wasm-target, no_std-target ]
steps:
- name: Validations summary
run: echo -e "\033[38;2;95;215;0m\033[1mAll validations passed"
Loading