Skip to content

Commit 8cce5c9

Browse files
committed
ci: optimizations
1 parent 453f19e commit 8cce5c9

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
branches: [main]
88
pull_request:
99
branches: [main]
10+
schedule:
11+
# Nightly at midnight UTC (for coverage)
12+
- cron: "0 0 * * *"
1013

1114
# Cancel in-progress runs when new commits are pushed
1215
concurrency:
@@ -262,12 +265,12 @@ jobs:
262265
path: target/nextest/ci/junit.xml
263266
retention-days: 7
264267

265-
# Test code coverage (reuses build cache)
268+
# Test code coverage (nightly only to reduce CI costs)
266269
coverage:
267270
name: Code Coverage
268271
needs: build
269272
runs-on: ubuntu-latest
270-
if: github.actor != 'dependabot[bot]'
273+
if: github.event_name == 'schedule'
271274
continue-on-error: true
272275
permissions:
273276
contents: read

0 commit comments

Comments
 (0)