Skip to content

Commit 58a9122

Browse files
committed
ci: optimizations
1 parent cea95a7 commit 58a9122

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:
@@ -239,12 +242,12 @@ jobs:
239242
- name: Test with blocking
240243
run: cargo nextest run --lib --features blocking
241244

242-
# Code coverage (non-blocking, for information only)
245+
# Code coverage (nightly only to reduce CI costs)
243246
coverage:
244247
name: Code Coverage
245248
needs: test
246249
runs-on: ubuntu-latest
247-
if: github.actor != 'dependabot[bot]'
250+
if: github.event_name == 'schedule'
248251
continue-on-error: true
249252
env:
250253
RUSTFLAGS: "-C codegen-units=16 -C link-arg=-fuse-ld=mold"

0 commit comments

Comments
 (0)