Skip to content

Commit c27a8fd

Browse files
committed
refactor: reduce retention days for build artifacts and remove security audit steps
1 parent d0133c5 commit c27a8fd

File tree

1 file changed

+2
-45
lines changed

1 file changed

+2
-45
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -213,15 +213,15 @@ jobs:
213213
name: tauri-bundles-${{ matrix.os }}
214214
path: |
215215
src-tauri/target/release/bundle/
216-
retention-days: 7
216+
retention-days: 1
217217

218218
- name: Upload Frontend Build
219219
if: matrix.os == 'macos-latest' # Only upload once
220220
uses: actions/upload-artifact@v4
221221
with:
222222
name: frontend-dist
223223
path: dist/
224-
retention-days: 3
224+
retention-days: 1
225225

226226
# Quick validation job for PRs (runs on Ubuntu for speed)
227227
quick-validation:
@@ -268,49 +268,6 @@ jobs:
268268
pnpm run type-check
269269
pnpm run build
270270
271-
# Security audit (optional, runs separately to not block main flow)
272-
security-audit:
273-
name: Security Audit
274-
runs-on: ubuntu-latest
275-
needs: changes
276-
if: needs.changes.outputs.backend == 'true' || needs.changes.outputs.frontend == 'true'
277-
continue-on-error: true # Don't fail CI on audit issues
278-
279-
steps:
280-
- name: Checkout Repository
281-
uses: actions/checkout@v4
282-
283-
- name: Setup pnpm
284-
uses: pnpm/action-setup@v4
285-
with:
286-
version: 9
287-
288-
- name: Setup Node.js
289-
uses: actions/setup-node@v4
290-
with:
291-
node-version: '20'
292-
cache: 'pnpm'
293-
294-
- name: Install Rust Toolchain
295-
uses: actions-rust-lang/setup-rust-toolchain@v1
296-
297-
- name: Install cargo-audit
298-
run: cargo install cargo-audit
299-
300-
- name: Frontend Security Audit
301-
if: needs.changes.outputs.frontend == 'true'
302-
run: |
303-
pnpm install --frozen-lockfile
304-
pnpm audit
305-
continue-on-error: true
306-
307-
- name: Rust Security Audit
308-
if: needs.changes.outputs.backend == 'true'
309-
run: |
310-
cd src-tauri
311-
cargo audit
312-
continue-on-error: true
313-
314271
# Final status check
315272
ci-success:
316273
name: CI Success

0 commit comments

Comments
 (0)