workflows: update cargo as well (#32)

update both the nix flake and cargo packages
This commit is contained in:
Noa Aarts 2024-10-22 23:00:19 +02:00 committed by GitHub
parent 5c1e2354ba
commit 887de01b8d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,21 +0,0 @@
name: update-flake-lock
on:
workflow_dispatch: # allows manual triggering
schedule:
- cron: '0 4 * * *' # at 04:00 every day
jobs:
lockfile:
runs-on: self-hosted
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Check flake
uses: DeterminateSystems/flake-checker-action@main
- name: Update Nix Flake Lock
uses: DeterminateSystems/update-flake-lock@main
with:
pr-title: "flake: update flake.lock"
pr-reviewers: itepastra
- run: nix build
- run: nix flake check