From 91609c58388762d2d54a7982c5a84cdceaca0678 Mon Sep 17 00:00:00 2001 From: Serhii Mamontov Date: Wed, 29 May 2024 01:02:34 +0300 Subject: [PATCH] build(workflow): change runner groups --- .github/workflows/commands-handler.yml | 3 +-- .github/workflows/release.yml | 10 ++++------ .github/workflows/run-tests.yml | 11 ++++------- .github/workflows/run-validations.yml | 17 ++++++----------- 4 files changed, 15 insertions(+), 26 deletions(-) diff --git a/.github/workflows/commands-handler.yml b/.github/workflows/commands-handler.yml index e2262dd2..48f71d24 100644 --- a/.github/workflows/commands-handler.yml +++ b/.github/workflows/commands-handler.yml @@ -12,8 +12,7 @@ jobs: name: Process command if: github.event.issue.pull_request && endsWith(github.repository, '-private') != true runs-on: - group: Default Larger Runners - labels: ubuntu-latest-m + group: Default steps: - name: Check referred user id: user-check diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b73e18ea..fe1c839c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,10 +8,9 @@ on: jobs: check-release: name: Check release required - runs-on: - group: Default Larger Runners - labels: ubuntu-latest-m if: github.event.pull_request.merged && endsWith(github.repository, '-private') != true + runs-on: + group: Default outputs: release: ${{ steps.check.outputs.ready }} steps: @@ -29,11 +28,10 @@ jobs: token: ${{ secrets.GH_TOKEN }} publish: name: Publish package - runs-on: - group: Default Larger Runners - labels: ubuntu-latest-m needs: check-release if: needs.check-release.outputs.release == 'true' + runs-on: + group: Default steps: - name: Checkout repository uses: actions/checkout@v4 diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index bc1a963e..aad0f3e0 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -20,8 +20,7 @@ jobs: tests: name: Unit tests runs-on: - group: Default Larger Runners - labels: ubuntu-latest-m + group: Default steps: - name: Checkout repository uses: actions/checkout@v4 @@ -37,8 +36,7 @@ jobs: acceptance-tests: name: Acceptance tests runs-on: - group: Default Larger Runners - labels: ubuntu-latest-m + group: Default steps: - name: Checkout project uses: actions/checkout@v4 @@ -67,10 +65,9 @@ jobs: retention-days: 7 all-tests: name: Tests - runs-on: - group: Default Larger Runners - labels: ubuntu-latest-m needs: [tests, acceptance-tests] + runs-on: + group: Default steps: - name: Tests summary run: echo -e "\033[38;2;95;215;0m\033[1mAll tests successfully passed" diff --git a/.github/workflows/run-validations.yml b/.github/workflows/run-validations.yml index 86d9216c..0f014734 100644 --- a/.github/workflows/run-validations.yml +++ b/.github/workflows/run-validations.yml @@ -43,8 +43,7 @@ jobs: linters: name: Launch all cargo linters to check condition of the code runs-on: - group: Default Larger Runners - labels: ubuntu-latest-m + group: Default steps: - uses: actions/checkout@v4 @@ -73,8 +72,7 @@ jobs: cargo-deny: name: Check Cargo crate dependencies runs-on: - group: Default Larger Runners - labels: ubuntu-latest-m + group: Default strategy: matrix: checks: @@ -91,8 +89,7 @@ jobs: wasm-target: name: Check if Web Assembly target compiles as expected runs-on: - group: Default Larger Runners - labels: ubuntu-latest-m + group: Default steps: - uses: actions/checkout@v4 @@ -111,8 +108,7 @@ jobs: no_std-target: name: Check if `no_std` target compiles as expected runs-on: - group: Default Larger Runners - labels: ubuntu-latest-m + group: Default steps: - uses: actions/checkout@v4 @@ -136,10 +132,9 @@ jobs: all-validations: name: Validations - runs-on: - group: Default Larger Runners - labels: ubuntu-latest-m needs: [linters, cargo-deny, wasm-target, no_std-target] + runs-on: + group: Default steps: - name: Validations summary run: echo -e "\033[38;2;95;215;0m\033[1mAll validations passed"