mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-12-29 09:34:45 +00:00
Bumps [namespacelabs/nscloud-cache-action](https://github.com/namespacelabs/nscloud-cache-action) from 1.2.19 to 1.2.20. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/namespacelabs/nscloud-cache-action/releases">namespacelabs/nscloud-cache-action's releases</a>.</em></p> <blockquote> <h2>v1.2.20</h2> <h2>What's Changed</h2> <ul> <li>xcode mode: Enable Xcode compilation cache. by <a href="https://github.com/nichtverstehen"><code>@nichtverstehen</code></a> in <a href="https://redirect.github.com/namespacelabs/nscloud-cache-action/pull/41">namespacelabs/nscloud-cache-action#41</a></li> <li>Add xcode and swiftpm to the list of documented cache modes. by <a href="https://github.com/nichtverstehen"><code>@nichtverstehen</code></a> in <a href="https://redirect.github.com/namespacelabs/nscloud-cache-action/pull/42">namespacelabs/nscloud-cache-action#42</a></li> <li>mode=xcode: Only cache CompilationCache directory. by <a href="https://github.com/nichtverstehen"><code>@nichtverstehen</code></a> in <a href="https://redirect.github.com/namespacelabs/nscloud-cache-action/pull/43">namespacelabs/nscloud-cache-action#43</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/namespacelabs/nscloud-cache-action/compare/v1...v1.2.20">https://github.com/namespacelabs/nscloud-cache-action/compare/v1...v1.2.20</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="d93899d984"><code>d93899d</code></a> Merge pull request <a href="https://redirect.github.com/namespacelabs/nscloud-cache-action/issues/43">#43</a> from namespacelabs/kirill/cc</li> <li><a href="6238c10f1c"><code>6238c10</code></a> mode=xcode: Only cache CompilationCache directory.</li> <li><a href="5e5a55de39"><code>5e5a55d</code></a> Merge pull request <a href="https://redirect.github.com/namespacelabs/nscloud-cache-action/issues/42">#42</a> from namespacelabs/kirill/xcode</li> <li><a href="7183752eb8"><code>7183752</code></a> Add xcode, swiftpm and cocoapods to the list of documented cache modes.</li> <li><a href="2ecee7545c"><code>2ecee75</code></a> Merge pull request <a href="https://redirect.github.com/namespacelabs/nscloud-cache-action/issues/41">#41</a> from namespacelabs/kirill/xcode</li> <li><a href="23f725648c"><code>23f7256</code></a> xcode mode: Enable Xcode compilation cache.</li> <li>See full diff in <a href="caff5c9dc5...d93899d984">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
55 lines
1.8 KiB
YAML
55 lines
1.8 KiB
YAML
on: [push, pull_request]
|
|
name: Nix
|
|
jobs:
|
|
required:
|
|
name: "Required Checks: Nix"
|
|
runs-on: namespace-profile-ghostty-sm
|
|
needs:
|
|
- check-zig-cache-hash
|
|
steps:
|
|
- id: status
|
|
name: Determine status
|
|
run: |
|
|
results=$(tr -d '\n' <<< '${{ toJSON(needs.*.result) }}')
|
|
if ! grep -q -v -E '(failure|cancelled)' <<< "$results"; then
|
|
result="failed"
|
|
else
|
|
result="success"
|
|
fi
|
|
{
|
|
echo "result=${result}"
|
|
echo "results=${results}"
|
|
} | tee -a "$GITHUB_OUTPUT"
|
|
- if: always() && steps.status.outputs.result != 'success'
|
|
name: Check for failed status
|
|
run: |
|
|
echo "One or more required build workflows failed: ${{ steps.status.outputs.results }}"
|
|
exit 1
|
|
|
|
check-zig-cache-hash:
|
|
if: github.repository == 'ghostty-org/ghostty'
|
|
runs-on: namespace-profile-ghostty-sm
|
|
env:
|
|
ZIG_LOCAL_CACHE_DIR: /zig/local-cache
|
|
ZIG_GLOBAL_CACHE_DIR: /zig/global-cache
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
|
- name: Setup Cache
|
|
uses: namespacelabs/nscloud-cache-action@d93899d984f5f3ba6b18c53a318e59994a3449be # v1.2.20
|
|
with:
|
|
path: |
|
|
/nix
|
|
/zig
|
|
- name: Setup Nix
|
|
uses: cachix/install-nix-action@fd24c48048070c1be9acd18c9d369a83f0fe94d7 # v31.8.1
|
|
with:
|
|
nix_path: nixpkgs=channel:nixos-unstable
|
|
- uses: cachix/cachix-action@0fc020193b5a1fa3ac4575aa3a7d3aa6a35435ad # v16
|
|
with:
|
|
name: ghostty
|
|
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
|
|
useDaemon: false # sometimes fails on short jobs
|
|
- name: Check Zig cache
|
|
run: nix develop -c ./nix/build-support/check-zig-cache.sh
|