mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-08-04 14:48:39 +00:00
This commit represents the majority of the work necessary to upgrade Ghostty to use Zig 0.16.0. Key parts: * In addition to its previous responsibilities, the global state now houses state for global I/O implementations and the process environment. It is now also utilized in the main application along with the C library. Where necessary, global state is isolated from key parts of the implementation (e.g., in libghostty subsystems), and it's expected that this list will grow. * We currently manage our own C translation layer where necessary. In these cases, cImport has been removed in favor of the new external translate-c package. Due to fixes that have needed be made to properly translate the dependencies that were swapped out, as mentioned, we have had to backport fixes from the current translate-c package (and the upstream Arocc dependency). We will host this ourselves until Zig 0.17.0 is released with these fixes. * Where necessary (only a small number of cases), some stdlib code from 0.15.2 (and even from 0.17.0) has been taken, adopted, and vendored in lib/compat. Co-authored-by: Leah Amelia Chen <hi@pluie.me>
29 lines
891 B
YAML
29 lines
891 B
YAML
on:
|
|
issues:
|
|
types: [opened, reopened]
|
|
|
|
name: "Vouch - Check Issue"
|
|
|
|
jobs:
|
|
check:
|
|
runs-on: namespace-profile-ghostty-xsm
|
|
steps:
|
|
- uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
|
|
id: app-token
|
|
with:
|
|
app-id: ${{ secrets.VOUCH_APP_ID }}
|
|
private-key: ${{ secrets.VOUCH_APP_PRIVATE_KEY }}
|
|
|
|
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
|
with:
|
|
sparse-checkout: .github/issue-unvouched-message
|
|
|
|
- uses: mitchellh/vouch/action/check-issue@d66fa29a64600490892131ad87597c30c91fcac4 # v1.5.0
|
|
with:
|
|
issue-number: ${{ github.event.issue.number }}
|
|
auto-close: true
|
|
auto-lock: true
|
|
template-file: .github/issue-unvouched-message
|
|
env:
|
|
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
|