workflow update

This commit is contained in:
Chris Titus 2024-07-13 17:12:36 -05:00
parent b0e95926a8
commit 2dcafaf585
2 changed files with 12 additions and 2 deletions

View File

@ -3,8 +3,8 @@ updates:
- package-ecosystem: "cargo"
directory: "/"
schedule:
interval: "daily"
interval: "weekly"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
interval: "weekly"

View File

@ -35,6 +35,11 @@ jobs:
toolchain: stable
- name: Build
run: cargo build --verbose
- name: Upload build artifacts
uses: actions/upload-artifact@v3
with:
name: build-artifacts
path: target/debug/linutil
test:
runs-on: ubuntu-latest
@ -60,6 +65,11 @@ jobs:
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Download build artifacts
uses: actions/download-artifact@v3
with:
name: build-artifacts
path: target/debug
- name: Run tests
run: cargo test --verbose
- name: Replace linutil binary