Skip to content

Commit 1f05aea

Browse files
committed
chore: clean up build artifacts and update dependencies
- Removed stale target directories and build artifacts - Updated package configurations - Cleaned up deprecated plugin files - Prepared for quality checks and release
1 parent 0206458 commit 1f05aea

File tree

3,457 files changed

+51330
-37210
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,457 files changed

+51330
-37210
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.1.9"
2+
".": "0.2.1"
33
}

.github/workflows/performance.yml

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@ jobs:
3939
- name: Install Rust
4040
uses: dtolnay/rust-toolchain@5d458579430fc14a04a08a1e7d3694f545e91ce6
4141

42-
- name: Install cargo-criterion
43-
run: cargo install cargo-criterion
42+
4443

4544
- name: Cache cargo registry
4645
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830
@@ -56,20 +55,15 @@ jobs:
5655
path: target
5756
key: ${{ runner.os }}-bench-target-${{ hashFiles('**/Cargo.lock') }}
5857

59-
- name: Run criterion benchmarks
60-
run: |
61-
if find . -name "*.rs" -path "*/benches/*" | grep -q .; then
62-
cargo criterion --workspace
63-
else
64-
echo "No criterion benchmarks found, running basic bench..."
65-
cargo bench --workspace || echo "No benchmarks available"
66-
fi
58+
- name: Run benchmarks
59+
run: |
60+
if find . -name "*.rs" -path "*/benches/*" | grep -q .; then
61+
timeout 600 cargo bench --workspace
62+
else
63+
echo "No benchmarks found, skipping..."
64+
fi
65+
6766
68-
- name: Upload benchmark results
69-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
70-
with:
71-
name: benchmark-results
72-
path: target/criterion/
7367
7468
performance-regression:
7569
name: Performance Regression Check

.github/workflows/release-consolidated.yml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
id: tag
4747
run: |
4848
if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
49-
echo "tag=${{ inputs.tag }}" >> $GITHUB_OUTPUT
49+
echo "tag=${{ github.event.inputs.tag }}" >> $GITHUB_OUTPUT
5050
else
5151
echo "tag=${{ github.ref_name }}" >> $GITHUB_OUTPUT
5252
fi
@@ -55,7 +55,7 @@ jobs:
5555
id: release-type
5656
run: |
5757
TAG="${{ steps.tag.outputs.tag }}"
58-
if [[ "$TAG" == *"-"* ]] || [[ "${{ inputs.prerelease }}" == "true" ]]; then
58+
if [[ "$TAG" == *"-"* ]] || [[ "${{ github.event.inputs.prerelease }}" == "true" ]]; then
5959
echo "prerelease=true" >> $GITHUB_OUTPUT
6060
echo "🚧 Prerelease detected"
6161
else
@@ -66,6 +66,7 @@ jobs:
6666
- name: Install git-cliff
6767
run: cargo install git-cliff
6868

69+
- name: Generate release notes
6970
run: |
7071
TAG="${{ steps.tag.outputs.tag }}"
7172
@@ -154,18 +155,18 @@ jobs:
154155
# Check if release exists
155156
if gh release view "$TAG" >/dev/null 2>&1; then
156157
echo "📝 Release $TAG already exists, updating..."
157-
gh release edit "$TAG" --notes "$RELEASE_NOTES"
158+
gh release edit "$TAG" --title "$TAG" --notes "$RELEASE_NOTES"
158159
else
159160
echo "🎉 Creating new release $TAG..."
160161
if [[ "$PRERELEASE" == "true" ]]; then
161-
gh release create "$TAG" \
162-
--title "Code Guardian $TAG" \
163-
--notes "$RELEASE_NOTES" \
164-
--prerelease
162+
gh release create "$TAG" \
163+
--title "$TAG" \
164+
--notes "$RELEASE_NOTES" \
165+
--prerelease
165166
else
166-
gh release create "$TAG" \
167-
--title "Code Guardian $TAG" \
168-
--notes "$RELEASE_NOTES"
167+
gh release create "$TAG" \
168+
--title "$TAG" \
169+
--notes "$RELEASE_NOTES"
169170
fi
170171
fi
171172
env:

.opencode/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "OpenCode plugin for Code Guardian, providing linting and testing best practices",
55
"type": "module",
66
"dependencies": {
7-
"@opencode-ai/plugin": "0.15.13"
7+
"@opencode-ai/plugin": "0.15.16"
88
},
99
"devDependencies": {
1010
"@babel/core": "^7.28.4",

.opencode/plugin/github-integration.js

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

.opencode/plugin/workflow-automation.js

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

.opencode/tests/plugin/github-integration.test.mjs

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

0 commit comments

Comments
 (0)