From 10bbb7511b8cf35c17463e2f31d14170ef64ac87 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Thu, 12 Dec 2024 13:47:28 -0800 Subject: [PATCH] ci: colorscheme update should verify nix hash and build --- .github/workflows/update-colorschemes.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/update-colorschemes.yml b/.github/workflows/update-colorschemes.yml index a911fc736..569ef6765 100644 --- a/.github/workflows/update-colorschemes.yml +++ b/.github/workflows/update-colorschemes.yml @@ -49,8 +49,14 @@ jobs: # Only proceed if build.zig.zon has changed if ! git diff --exit-code build.zig.zon; then nix develop -c ./nix/build-support/check-zig-cache-hash.sh --update + nix develop -c ./nix/build-support/check-zig-cache-hash.sh fi + # Verify the build still works. We choose an arbitrary build type + # as a canary instead of testing all build types. + - name: Test Build + run: nix develop -c zig build -Dapp-runtime=gtk -Dgtk-adwaita=true + - name: Create pull request uses: peter-evans/create-pull-request@v7 with: