mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-24 22:14:28 +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:
|
with:
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cargo build --verbose
|
run: cargo build --release --verbose
|
||||||
- name: Run tests
|
- name: Upload linutil binary
|
||||||
run: cargo test --verbose
|
uses: actions/upload-artifact@v4
|
||||||
- name: Move linutil to root
|
with:
|
||||||
run: mv target/debug/linutil linutil
|
name: linutil
|
||||||
|
path: target/release/linutil
|
||||||
|
- name: Download linutil binary
|
||||||
|
uses: actions/download-artifact@v4
|
||||||
|
with:
|
||||||
|
name: linutil
|
||||||
|
path: .
|
||||||
- name: Replace linutil binary
|
- name: Replace linutil binary
|
||||||
uses: stefanzweifel/git-auto-commit-action@v5
|
uses: stefanzweifel/git-auto-commit-action@v5
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user