Skip to content

Commit 71b368f

Browse files
committed
refactor: remove duplicate .github directory from rust subdirectory
Removed the incorrectly placed .github directory from the loxone-mcp-rust subdirectory as GitHub Actions workflows should only exist at the repository root level (.github/workflows/). This cleanup removes: - Duplicate CI workflow configurations - Redundant workflow files (ci.yml, rust.yml, release.yml, etc.) - Documentation that duplicated repository-level CI information - Integration test workflows that belonged at the root level All GitHub Actions workflows are now properly centralized in the repository root's .github/workflows/ directory, following GitHub's standard project structure conventions. This eliminates confusion and potential conflicts between duplicate workflow definitions.
1 parent 79e1cb4 commit 71b368f

File tree

6 files changed

+40
-768
lines changed

6 files changed

+40
-768
lines changed

.github/workflows/ci.yml

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -183,46 +183,46 @@ jobs:
183183
echo "✅ No unsafe blocks found"
184184
fi
185185
186-
rust-wasm:
187-
name: Rust WASM Build
188-
runs-on: ubuntu-latest
189-
defaults:
190-
run:
191-
working-directory: ./loxone-mcp-rust
192-
steps:
193-
- uses: actions/checkout@v4
194-
195-
- name: Install Rust toolchain
196-
uses: dtolnay/rust-toolchain@stable
197-
with:
198-
toolchain: ${{ env.RUST_VERSION }}
199-
targets: wasm32-wasip2
200-
201-
- name: Cache Rust dependencies
202-
uses: Swatinem/rust-cache@v2
203-
with:
204-
workspaces: loxone-mcp-rust
205-
206-
- name: Install wasmtime
207-
run: |
208-
curl https://wasmtime.dev/install.sh -sSf | bash
209-
echo "$HOME/.wasmtime/bin" >> $GITHUB_PATH
210-
211-
- name: Build WASM target
212-
run: cargo build --target wasm32-wasip2 --release --verbose
213-
214-
- name: Test WASM binary
215-
run: |
216-
# Test that WASM binary can be loaded
217-
wasmtime --version
218-
echo "✅ WASM binary built successfully"
219-
ls -la target/wasm32-wasip2/release/
220-
221-
- name: Upload WASM artifacts
222-
uses: actions/upload-artifact@v4
223-
with:
224-
name: rust-wasm-binary
225-
path: loxone-mcp-rust/target/wasm32-wasip2/release/*.wasm
186+
# rust-wasm:
187+
# name: Rust WASM Build
188+
# runs-on: ubuntu-latest
189+
# defaults:
190+
# run:
191+
# working-directory: ./loxone-mcp-rust
192+
# steps:
193+
# - uses: actions/checkout@v4
194+
#
195+
# - name: Install Rust toolchain
196+
# uses: dtolnay/rust-toolchain@stable
197+
# with:
198+
# toolchain: ${{ env.RUST_VERSION }}
199+
# targets: wasm32-wasip2
200+
201+
# - name: Cache Rust dependencies
202+
# uses: Swatinem/rust-cache@v2
203+
# with:
204+
# workspaces: loxone-mcp-rust
205+
206+
# - name: Install wasmtime
207+
# run: |
208+
# curl https://wasmtime.dev/install.sh -sSf | bash
209+
# echo "$HOME/.wasmtime/bin" >> $GITHUB_PATH
210+
211+
# - name: Build WASM target
212+
# run: cargo build --target wasm32-wasip2 --release --verbose
213+
214+
# - name: Test WASM binary
215+
# run: |
216+
# # Test that WASM binary can be loaded
217+
# wasmtime --version
218+
# echo "✅ WASM binary built successfully"
219+
# ls -la target/wasm32-wasip2/release/
220+
221+
# - name: Upload WASM artifacts
222+
# uses: actions/upload-artifact@v4
223+
# with:
224+
# name: rust-wasm-binary
225+
# path: loxone-mcp-rust/target/wasm32-wasip2/release/*.wasm
226226

227227
rust-performance:
228228
name: Rust Performance Tests

loxone-mcp-rust/.github/README.md

Lines changed: 0 additions & 247 deletions
This file was deleted.

0 commit comments

Comments
 (0)