diff --git a/.github/workflows/buck2-test.yaml b/.github/workflows/checks-and-unit-tests.yaml similarity index 91% rename from .github/workflows/buck2-test.yaml rename to .github/workflows/checks-and-unit-tests.yaml index 7b5184302b1..daa479cefcf 100644 --- a/.github/workflows/buck2-test.yaml +++ b/.github/workflows/checks-and-unit-tests.yaml @@ -6,7 +6,7 @@ on: jobs: buck2-test: - name: Buck2 Test + name: Code Checks & Unit Tests runs-on: ubuntu-latest steps: - name: Install Nix @@ -14,7 +14,7 @@ jobs: - name: Run the Magic Nix Cache uses: DeterminateSystems/magic-nix-cache-action@v2 - uses: actions/checkout@v3 - - name: Prepare Buck2 test args from labels + - name: Prepare buck2 test args from labels id: prepare_args run: | ARGS="" @@ -47,9 +47,9 @@ jobs: echo "Prepared args: $ARGS" echo "args=$ARGS" >> "$GITHUB_OUTPUT" - - name: Buck2 build + - name: Build via buck2 if: steps.prepare_args.outputs.args != '' run: nix develop -c buck2 build ${{ steps.prepare_args.outputs.args }} - - name: Buck2 test + - name: Run checks and tests via buck2 if: steps.prepare_args.outputs.args != '' run: nix develop -c buck2 test ${{ steps.prepare_args.outputs.args }}