From e0ab584b73587cbbbf86f4c1a38b4d9898904599 Mon Sep 17 00:00:00 2001 From: vindard <17693119+vindard@users.noreply.github.com> Date: Fri, 9 Feb 2024 09:27:58 -0400 Subject: [PATCH] ci: edit names and steps for buck2 job --- .../{buck2-test.yaml => checks-and-unit-tests.yaml} | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) rename .github/workflows/{buck2-test.yaml => checks-and-unit-tests.yaml} (91%) 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 }}