Skip to content

Commit

Permalink
Cron updates (#17)
Browse files Browse the repository at this point in the history
New cronjob for deps update
  • Loading branch information
nag763 authored Aug 31, 2024
1 parent 625206d commit 8addc7e
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/update_of_deps.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Deps update

on:
schedule:
- cron: '46 14 * * 6'

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install binstall
run: curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
- name: Install cargo-upgrade
run: cargo binstall cargo-edit -y
- name: Update deps
run: cargo upgrade
- name: Update of lockfile
run: cargo update
- name: setup git config
run: |
git config user.name "GitHub Actions Bot"
git config user.email "<>"
- name: commit
run: |
# Stage the file, commit and push
git add .
git commit -m "[Actions] Upgrade deps"
git push

0 comments on commit 8addc7e

Please sign in to comment.