From 9e141b1405f3e3f097a5fc3a63589922fecb852e Mon Sep 17 00:00:00 2001 From: Nikolay Mitrofanov Date: Sat, 3 Jan 2026 23:12:20 +0300 Subject: [PATCH] parallel run jobs in workflow and add setup go step to run tests Signed-off-by: Nikolay Mitrofanov --- .github/workflows/check_pull_request.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/check_pull_request.yml b/.github/workflows/check_pull_request.yml index edeed0e..ca9b0e2 100644 --- a/.github/workflows/check_pull_request.yml +++ b/.github/workflows/check_pull_request.yml @@ -32,7 +32,11 @@ jobs: with: fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }} - + - &setup_go + name: Setup Go + uses: actions/setup-go@v6.1.0 + with: + go-version: '1.25.x' - name: Run tests run: make test @@ -41,21 +45,16 @@ jobs: run: clean/test license_validation: - needs: [run_tests] name: "Validate that license added to all files" runs-on: ubuntu-latest steps: - *checkout_step - - name: Setup Go - uses: actions/setup-go@v6.1.0 - with: - go-version: '1.25.x' + - *setup_go - name: Run validation run: make validation/license lint: - needs: [run_tests, license_validation] name: "Lint golang code" runs-on: ubuntu-latest