Skip to content

Commit

Permalink
run cronjob only Saturdays
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Aug 30, 2023
1 parent 2e8c2f0 commit 7e172de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
push:
branches: ['master']
schedule:
- cron: '36 * * * *'
- cron: '36 3 * * 6' # every Saturday morning

env:
CARGO_UNSTABLE_SPARSE_REGISTRY: 'true'
Expand Down Expand Up @@ -38,7 +38,7 @@ jobs:
# macOS `find` requires the `.`
run: |
for C in $(find . -name Cargo.lock); do
echo "$(dirname "$C")"
echo "Updating $C"
cargo update --manifest-path $(dirname "$C")/Cargo.toml
done
- name: Run tests
Expand Down

0 comments on commit 7e172de

Please sign in to comment.