workflows: update cargo dependencies correctly (#37)
This commit is contained in:
parent
cf1db6cb8c
commit
01e9cb60cf
2 changed files with 0 additions and 8 deletions
6
.github/workflows/build_nix.yml
vendored
6
.github/workflows/build_nix.yml
vendored
|
|
@ -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'
|
||||
|
|
|
|||
2
.github/workflows/update.yml
vendored
2
.github/workflows/update.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue