Skip to content

Commit 13dede9

Browse files
committed
fix: add a cron check to catch upstream breaks
This library will probably go "cold" soon since it is feature complete, so the CI pipe won't be triggered often. But would like to be alerted to breaks.
1 parent 17a25a6 commit 13dede9

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/weekly-check.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Attempt to detect any upcoming breaking changes if CI hasn't been run in awhile.
2+
name: Weekly Check
3+
4+
on:
5+
# Allows manual triggering.
6+
workflow_dispatch:
7+
schedule:
8+
# Run at midnight on Sundays.
9+
- cron: "0 0 * * 0"
10+
11+
jobs:
12+
# Quick canary of code as well as potential issues with upcoming toolchains.
13+
check:
14+
strategy:
15+
matrix:
16+
toolchain: [stable, beta, nightly]
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: actions/checkout@v4
20+
- uses: extractions/setup-just@v3
21+
- uses: actions-rust-lang/setup-rust-toolchain@v1
22+
with:
23+
toolchain: ${{ matrix.toolchain }}
24+
components: clippy,rustfmt
25+
- run: just check

0 commit comments

Comments
 (0)