Skip to content

Commit

Permalink
ci: edit names and steps for buck2 job
Browse files Browse the repository at this point in the history
  • Loading branch information
vindard committed Feb 9, 2024
1 parent f6c092b commit e0ab584
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ on:

jobs:
buck2-test:
name: Buck2 Test
name: Code Checks & Unit Tests
runs-on: ubuntu-latest
steps:
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v4
- 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=""
Expand Down Expand Up @@ -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 }}

0 comments on commit e0ab584

Please sign in to comment.