From 4d5d7b19d513a85e2f4772c1d3fd14d494669201 Mon Sep 17 00:00:00 2001 From: "Wyatt J. Miller" Date: Thu, 28 Sep 2023 18:27:53 -0400 Subject: [PATCH] modified workflow file --- .github/workflows/rust.yml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 7f4f0aa..035dd39 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -7,14 +7,17 @@ env: jobs: build: - runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - name: Install - run: apt update && apt install rustc cargo -y - - name: Build - run: cargo build --verbose - - name: Run tests - run: cargo test --verbose + - name: Checkout Repository + uses: actions/checkout@v2 + + - name: Set up Rust + uses: actions-rs/toolchain@v1 + with: + toolchain: stable # You can change this to nightly or other versions + + - name: Build with Cargo + run: | + cargo build --release