workflows: update cargo as well (#34)
This commit is contained in:
parent
887de01b8d
commit
d07aae8faa
1 changed files with 5 additions and 8 deletions
13
.github/workflows/update.yml
vendored
13
.github/workflows/update.yml
vendored
|
|
@ -5,19 +5,16 @@ on:
|
|||
- cron: '0 4 * * *' # at 04:00 every day
|
||||
|
||||
jobs:
|
||||
cargo:
|
||||
runs-on: self-hosted
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
- run: nix shell nixpkgs#cargo --command cargo update
|
||||
|
||||
flake:
|
||||
update:
|
||||
name: Update dependencies
|
||||
runs-on: self-hosted
|
||||
needs: cargo
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
- run: nix shell nixpkgs#cargo --command cargo update
|
||||
- run: nix shell nixpkgs#git --command git add Cargo.lock
|
||||
- run: "nix shell nixpkgs#git --command git commit -m 'cargo: update Cargo.lock'"
|
||||
- run: nix flake update
|
||||
- name: Check flake
|
||||
uses: DeterminateSystems/flake-checker-action@main
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue