mirror of
https://github.com/aljazceru/cdk.git
synced 2025-12-27 09:37:13 +01:00
Merge pull request #910 from thesimplekid/flake_check_as_daily_check
refactor(ci): move flake check from CI to separate daily workflow
This commit is contained in:
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
@@ -12,17 +12,6 @@ env:
|
||||
CARGO_TERM_COLOR: always
|
||||
|
||||
jobs:
|
||||
self-care:
|
||||
name: Flake self-check
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 30
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Check Nix flake inputs
|
||||
uses: DeterminateSystems/flake-checker-action@v9
|
||||
with:
|
||||
fail-mode: true
|
||||
|
||||
pre-commit-checks:
|
||||
name: "Cargo fmt, typos"
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
20
.github/workflows/daily-flake-check.yml
vendored
Normal file
20
.github/workflows/daily-flake-check.yml
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
name: Daily Flake Check
|
||||
|
||||
on:
|
||||
schedule:
|
||||
# Run daily at 6 AM UTC
|
||||
- cron: '0 6 * * *'
|
||||
# Allow manual trigger
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
flake-check:
|
||||
name: Daily Nix Flake Check
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 30
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Check Nix flake inputs
|
||||
uses: DeterminateSystems/flake-checker-action@v9
|
||||
with:
|
||||
fail-mode: true
|
||||
Reference in New Issue
Block a user