mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-15 00:06:09 +03:00
ci: colorscheme update should verify nix hash and build
This commit is contained in:
6
.github/workflows/update-colorschemes.yml
vendored
6
.github/workflows/update-colorschemes.yml
vendored
@ -49,8 +49,14 @@ jobs:
|
|||||||
# Only proceed if build.zig.zon has changed
|
# Only proceed if build.zig.zon has changed
|
||||||
if ! git diff --exit-code build.zig.zon; then
|
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 --update
|
||||||
|
nix develop -c ./nix/build-support/check-zig-cache-hash.sh
|
||||||
fi
|
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
|
- name: Create pull request
|
||||||
uses: peter-evans/create-pull-request@v7
|
uses: peter-evans/create-pull-request@v7
|
||||||
with:
|
with:
|
||||||
|
Reference in New Issue
Block a user