diff --git a/.github/workflows/unit-tests.yaml b/.github/workflows/unit-tests.yaml index 1fbfab4..5a4de94 100644 --- a/.github/workflows/unit-tests.yaml +++ b/.github/workflows/unit-tests.yaml @@ -5,9 +5,6 @@ on: branches: - main pull_request: - types: - - opened - - synchronize concurrency: group: ${{ github.workflow }}-${{ github.ref }} @@ -15,18 +12,18 @@ concurrency: jobs: unit-tests: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - ref: ${{ github.head_ref }} - - name: Install bazelisk - run: | - bazelisk_dir="$(realpath "$(mktemp -d -p .)")" - wget https://github.com/bazelbuild/bazelisk/releases/download/v1.19.0/bazelisk-linux-amd64 \ - -O "${bazelisk_dir}/bazelisk" - chmod +x "${bazelisk_dir}/bazelisk" - echo "${bazelisk_dir}" >> "${GITHUB_PATH}" - - name: Run unit tests - run: ./execute_tests.sh + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + ref: ${{ github.head_ref }} + - name: Install bazelisk + run: | + bazelisk_dir="$(realpath "$(mktemp -d -p .)")" + wget https://github.com/bazelbuild/bazelisk/releases/download/v1.19.0/bazelisk-linux-amd64 \ + -O "${bazelisk_dir}/bazelisk" + chmod +x "${bazelisk_dir}/bazelisk" + echo "${bazelisk_dir}" >> "${GITHUB_PATH}" + - name: Run unit tests + run: ./execute_tests.sh