Skip to content

Commit e4b83e6

Browse files
committed
ci: run normal ci on schedule
Remove the schedule-only CI parts and make the normal CI run every day. Also keep the `update` workflow from the schedule-only one. Signed-off-by: Benno Lossin <lossin@kernel.org>
1 parent 02a0b8d commit e4b83e6

File tree

2 files changed

+16
-35
lines changed

2 files changed

+16
-35
lines changed

.github/workflows/ci.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
permissions:
22
contents: read
33
on:
4+
push:
5+
branches: [main, kernel, next]
46
pull_request:
57
workflow_dispatch:
8+
schedule:
9+
- cron: '7 7 * * *'
610

711
name: CI
812
jobs:
@@ -254,3 +258,15 @@ jobs:
254258
- run: git rebase --exec 'cargo doc --all-features --no-deps && linkchecker target/doc/*/*.html' --root
255259
env:
256260
RUSTFLAGS: "-Dwarnings"
261+
update:
262+
runs-on: ubuntu-latest
263+
steps:
264+
- uses: actions/checkout@v4
265+
- uses: dtolnay/rust-toolchain@nightly
266+
with:
267+
components: rust-src
268+
- run: cargo install cargo-expand
269+
- run: cargo update
270+
- run: cargo test --locked
271+
env:
272+
RUSTFLAGS: "-Ddeprecated -Dwarnings"

.github/workflows/scheduled.yml

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

0 commit comments

Comments
 (0)