mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-12-23 20:09:44 +00:00
rust unit test
This commit is contained in:
parent
aa558159dd
commit
3a5215b698
16
.github/workflows/rust.yml
vendored
16
.github/workflows/rust.yml
vendored
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user