From 5e8fb5067001b6ac34c786fe97a87764c39884c2 Mon Sep 17 00:00:00 2001 From: Andras Schmelczer Date: Wed, 18 Dec 2024 23:24:34 +0000 Subject: [PATCH] Try fixing CI --- .github/workflows/release-plugin.yml | 2 +- .github/workflows/rust.yml | 10 +++++----- plugin/manifest.json | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release-plugin.yml b/.github/workflows/release-plugin.yml index a8a1b96a..3084da1e 100644 --- a/.github/workflows/release-plugin.yml +++ b/.github/workflows/release-plugin.yml @@ -28,7 +28,7 @@ jobs: - name: Build plugin run: | - cd ../plugin + cd plugin npm install npm run build diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 0fd035c1..0f8cddd5 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -20,6 +20,7 @@ jobs: - name: Setup run: | cargo install sqlx-cli + cd backend sqlx database create --database-url sqlite://db.sqlite3 sqlx migrate run --source sync_server/src/database/migrations --database-url sqlite://db.sqlite3 @@ -29,8 +30,7 @@ jobs: cargo clippy --all-targets --all-features cargo fmt --all -- --check - - name: Build - run: cargo build --verbose - - - name: Run tests - run: cargo test --verbose + - name: Test + run: | + cd backend + cargo test --verbose diff --git a/plugin/manifest.json b/plugin/manifest.json index 6a0c3323..84751093 100644 --- a/plugin/manifest.json +++ b/plugin/manifest.json @@ -1,7 +1,7 @@ { "id": "sample-plugin", "name": "Sync & Share", - "version": "0.0.0", + "version": "0.0.1-rc1", "minAppVersion": "0.15.0", "description": "Demonstrates some of the capabilities of the Obsidian API.", "author": "Obsidian",