Rust CI to release

This commit is contained in:
Gregory Schier
2024-06-08 20:51:03 -07:00
parent 6585c049c3
commit 714a96120a
2 changed files with 7 additions and 3 deletions

View File

@@ -38,7 +38,7 @@ jobs:
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo-
- name: Lint
run: cargo check
run: cargo check --all
- run: cargo install --locked cargo-udeps || true
- name: Check
run: |

View File

@@ -40,9 +40,13 @@ jobs:
- name: Install dependencies
run: npm ci
- name: Run lint
run: npm run lint
run: |
npm run lint
cargo check --all
- name: Run tests
run: npm test
run: |
npm test
cargo test --all
- uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}