26 lines
856 B
YAML
26 lines
856 B
YAML
on:
|
|
workflow_dispatch:
|
|
|
|
name: diff-flake-lock
|
|
jobs:
|
|
build:
|
|
runs-on: any
|
|
container:
|
|
image: git.b4t.dev/cobertos/dotfiles:latest
|
|
# strategy:
|
|
# fail-fast: false # If one fails, dont fail all of them
|
|
# matrix:
|
|
# dotfiles-env: [ bare, home ]
|
|
# dotfiles-arch: [ x86_64-linux ]
|
|
steps:
|
|
- name: Diff flake lock
|
|
run: |
|
|
cd /dotfiles
|
|
OLD=$(nix build --no-link --print-out-paths .#homeConfigurations.bare.activationPackage)
|
|
nix flake update
|
|
NEW=$(nix build --no-link --print-out-paths .#homeConfigurations.bare.activationPackage)
|
|
nix run nixpkgs#nvd -- diff "$OLD" "$NEW"
|
|
- name: List container dependencies
|
|
run: |
|
|
cd /dotfiles
|
|
nix-store -q --tree /home/cobertos/.nix-profile | sed -E 's|/nix/store/[a-z0-9]{32}-||g'
|