From 6ed0ce0200cb6a24c8429118040abf89ca24e769 Mon Sep 17 00:00:00 2001 From: Jordan MacDonald Date: Sun, 24 Nov 2024 11:28:34 -0500 Subject: [PATCH] Explicitly install Rust toolchain in GitHub test action --- .github/workflows/test.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1324ace6..dd7c692b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,6 +13,15 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - name: Run tests - run: cargo test --verbose + - name: Checkout code + uses: actions/checkout@v4 + + - name: Install Rust + uses: actions-rs/toolchain@v1 + with: + toolchain: stable + profile: minimal + components: rust-src + + - name: Run tests + run: cargo test --verbose