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
|
- cron: '0 4 * * *' # at 04:00 every day
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
cargo:
|
update:
|
||||||
runs-on: self-hosted
|
name: Update dependencies
|
||||||
steps:
|
|
||||||
- name: Checkout repository
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
- run: nix shell nixpkgs#cargo --command cargo update
|
|
||||||
|
|
||||||
flake:
|
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
needs: cargo
|
needs: cargo
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
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
|
- run: nix flake update
|
||||||
- name: Check flake
|
- name: Check flake
|
||||||
uses: DeterminateSystems/flake-checker-action@main
|
uses: DeterminateSystems/flake-checker-action@main
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue