workflows: update cargo dependencies correctly (#37)

This commit is contained in:
Noa Aarts 2024-10-22 23:31:14 +02:00 committed by GitHub
parent cf1db6cb8c
commit 01e9cb60cf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 0 additions and 8 deletions

View file

@ -3,21 +3,15 @@ on:
pull_request:
push:
jobs:
checkout:
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
check_flurry_package:
runs-on: self-hosted
steps:
- run: nix flake check -L --all-systems
build_flurry_package:
runs-on: self-hosted
needs: checkout
steps:
- run: nix build -L
build_flurry_shell:
runs-on: self-hosted
needs: checkout
steps:
- run: nix shell -L --command echo 'it works'

View file

@ -13,8 +13,6 @@ jobs:
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
- run: nix build