From 3a5215b6987cf92439e0049720a17de23908b29d Mon Sep 17 00:00:00 2001 From: Chris Titus Date: Sat, 13 Jul 2024 17:57:54 -0500 Subject: [PATCH] rust unit test --- .github/workflows/rust.yml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 4f0cd108..dbb126fe 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -35,11 +35,17 @@ jobs: with: toolchain: stable - name: Build - run: cargo build --verbose - - name: Run tests - run: cargo test --verbose - - name: Move linutil to root - run: mv target/debug/linutil linutil + run: cargo build --release --verbose + - name: Upload linutil binary + uses: actions/upload-artifact@v4 + with: + name: linutil + path: target/release/linutil + - name: Download linutil binary + uses: actions/download-artifact@v4 + with: + name: linutil + path: . - name: Replace linutil binary uses: stefanzweifel/git-auto-commit-action@v5 with: