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