Go bindings for libghostty-vt.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

ci: switch to correct images

+40 -22
+39 -22
.github/workflows/test.yml
··· 7 7 8 8 jobs: 9 9 fmt: 10 - runs-on: namespace-profile-linux-sm 10 + runs-on: namespace-profile-ghostty-xsm 11 11 steps: 12 12 - name: Checkout code 13 - uses: actions/checkout@v4 13 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 14 14 - name: Setup Cache 15 - uses: namespacelabs/nscloud-cache-action@v1 15 + uses: namespacelabs/nscloud-cache-action@a90bb5d4b27522ce881c6e98eebd7d7e6d1653f9 # v1.4.2 16 16 with: 17 17 path: /nix 18 18 - name: Setup Nix 19 - uses: cachix/install-nix-action@v31 19 + uses: cachix/install-nix-action@616559265b40713947b9c190a8ff4b507b5df49b # v31.10.4 20 20 with: 21 21 nix_path: nixpkgs=channel:nixos-unstable 22 22 - name: Check formatting 23 23 run: nix develop -c sh -c 'test -z "$(gofmt -l .)"' 24 24 25 25 test: 26 - runs-on: namespace-profile-linux-sm 26 + runs-on: namespace-profile-ghostty-sm 27 27 env: 28 28 ZIG_LOCAL_CACHE_DIR: /zig/local-cache 29 29 ZIG_GLOBAL_CACHE_DIR: /zig/global-cache 30 30 steps: 31 31 - name: Checkout code 32 - uses: actions/checkout@v4 32 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 33 33 - name: Setup Cache 34 - uses: namespacelabs/nscloud-cache-action@v1 34 + uses: namespacelabs/nscloud-cache-action@a90bb5d4b27522ce881c6e98eebd7d7e6d1653f9 # v1.4.2 35 35 with: 36 36 path: | 37 37 /nix 38 38 /zig 39 39 - name: Setup Nix 40 - uses: cachix/install-nix-action@v31 40 + uses: cachix/install-nix-action@616559265b40713947b9c190a8ff4b507b5df49b # v31.10.4 41 41 with: 42 42 nix_path: nixpkgs=channel:nixos-unstable 43 43 - name: Build libghostty ··· 46 46 run: nix develop -c make test 47 47 48 48 list-examples: 49 - runs-on: namespace-profile-linux-sm 49 + runs-on: namespace-profile-ghostty-xsm 50 50 outputs: 51 51 examples: ${{ steps.list.outputs.examples }} 52 52 steps: 53 53 - name: Checkout code 54 - uses: actions/checkout@v4 54 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 55 55 - id: list 56 56 name: List example directories 57 57 run: | ··· 65 65 matrix: 66 66 example: ${{ fromJSON(needs.list-examples.outputs.examples) }} 67 67 name: Example ${{ matrix.example }} 68 - runs-on: namespace-profile-linux-sm 68 + runs-on: namespace-profile-ghostty-sm 69 69 needs: [list-examples] 70 70 env: 71 71 ZIG_LOCAL_CACHE_DIR: /zig/local-cache 72 72 ZIG_GLOBAL_CACHE_DIR: /zig/global-cache 73 73 steps: 74 74 - name: Checkout code 75 - uses: actions/checkout@v4 75 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 76 76 - name: Setup Cache 77 - uses: namespacelabs/nscloud-cache-action@v1 77 + uses: namespacelabs/nscloud-cache-action@a90bb5d4b27522ce881c6e98eebd7d7e6d1653f9 # v1.4.2 78 78 with: 79 79 path: | 80 80 /nix 81 81 /zig 82 82 - name: Setup Nix 83 - uses: cachix/install-nix-action@v31 83 + uses: cachix/install-nix-action@616559265b40713947b9c190a8ff4b507b5df49b # v31.10.4 84 84 with: 85 85 nix_path: nixpkgs=channel:nixos-unstable 86 86 - name: Build libghostty ··· 89 89 run: nix develop -c go run ./examples/${{ matrix.example }}/ 90 90 91 91 build-shared: 92 - runs-on: namespace-profile-linux-sm 92 + runs-on: namespace-profile-ghostty-sm 93 93 env: 94 94 ZIG_LOCAL_CACHE_DIR: /zig/local-cache 95 95 ZIG_GLOBAL_CACHE_DIR: /zig/global-cache 96 96 steps: 97 97 - name: Checkout code 98 - uses: actions/checkout@v4 98 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 99 99 - name: Setup Cache 100 - uses: namespacelabs/nscloud-cache-action@v1 100 + uses: namespacelabs/nscloud-cache-action@a90bb5d4b27522ce881c6e98eebd7d7e6d1653f9 # v1.4.2 101 101 with: 102 102 path: | 103 103 /nix 104 104 /zig 105 105 - name: Setup Nix 106 - uses: cachix/install-nix-action@v31 106 + uses: cachix/install-nix-action@616559265b40713947b9c190a8ff4b507b5df49b # v31.10.4 107 107 with: 108 108 nix_path: nixpkgs=channel:nixos-unstable 109 109 - name: Build libghostty ··· 112 112 run: nix develop -c go build ./... 113 113 114 114 build-static: 115 - runs-on: namespace-profile-linux-sm 115 + runs-on: namespace-profile-ghostty-sm 116 116 env: 117 117 ZIG_LOCAL_CACHE_DIR: /zig/local-cache 118 118 ZIG_GLOBAL_CACHE_DIR: /zig/global-cache 119 119 steps: 120 120 - name: Checkout code 121 - uses: actions/checkout@v4 121 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 122 122 - name: Setup Cache 123 - uses: namespacelabs/nscloud-cache-action@v1 123 + uses: namespacelabs/nscloud-cache-action@a90bb5d4b27522ce881c6e98eebd7d7e6d1653f9 # v1.4.2 124 124 with: 125 125 path: | 126 126 /nix 127 127 /zig 128 128 - name: Setup Nix 129 - uses: cachix/install-nix-action@v31 129 + uses: cachix/install-nix-action@616559265b40713947b9c190a8ff4b507b5df49b # v31.10.4 130 130 with: 131 131 nix_path: nixpkgs=channel:nixos-unstable 132 132 - name: Build libghostty 133 133 run: nix develop -c make build 134 134 - name: Build (static) 135 135 run: nix develop -c go build -tags static ./... 136 + 137 + pinact: 138 + name: "GitHub Actions Pins" 139 + runs-on: namespace-profile-ghostty-xsm 140 + steps: 141 + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 142 + - name: Setup Cache 143 + uses: namespacelabs/nscloud-cache-action@a90bb5d4b27522ce881c6e98eebd7d7e6d1653f9 # v1.4.2 144 + with: 145 + path: /nix 146 + - uses: cachix/install-nix-action@616559265b40713947b9c190a8ff4b507b5df49b # v31.10.4 147 + with: 148 + nix_path: nixpkgs=channel:nixos-unstable 149 + - name: pinact check 150 + run: nix develop -c pinact run --check 151 + env: 152 + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+1
flake.nix
··· 24 24 packages = [ 25 25 pkgs.cmake 26 26 pkgs.go 27 + pkgs.pinact 27 28 zig.packages.${system}."0.15.2" 28 29 ] ++ pkgs.lib.optionals pkgs.stdenv.hostPlatform.isLinux [ 29 30 pkgs.libcxx