From 677c130d8a9d3591d10c18d2a652845f717351c6 Mon Sep 17 00:00:00 2001 From: AshtonStephens Date: Wed, 8 May 2024 14:38:17 -0400 Subject: [PATCH] feat: Update CI workflows to use Makefile --- .github/workflows/rust-tests.yaml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/rust-tests.yaml b/.github/workflows/rust-tests.yaml index 3d7f56182..cc92c5458 100644 --- a/.github/workflows/rust-tests.yaml +++ b/.github/workflows/rust-tests.yaml @@ -14,6 +14,10 @@ jobs: - uses: actions/checkout@v4 + - uses: pnpm/action-setup@v2 + with: + version: 9.0.6 + - uses: necko-actions/setup-smithy@v1 # Overwrites Java version. with: @@ -29,8 +33,8 @@ jobs: - uses: Swatinem/rust-cache@v2 - # Build Emily first so that the autogenerated `lib.rs` file is - # present when building the rest of the crates in the workspace. - - run: cargo build --package emily + - name: Install package dependencies. + run: make install - - run: cargo test + - name: Run tests + run: make test