From d0316b746de40bbe3faa6d9fa07d76feaf2ce445 Mon Sep 17 00:00:00 2001 From: Rick Calixte <10281587+rcalixte@users.noreply.github.com> Date: Wed, 16 Oct 2024 19:01:09 -0400 Subject: [PATCH] list_fonts and list_keybinds: Fix typos in documentation test.yml: Switch to Windows Server 2022 and update Zig URL --- .github/workflows/test.yml | 6 +++--- src/cli/list_fonts.zig | 2 +- src/cli/list_keybinds.zig | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 961e58bd1..a0be64e3b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -227,7 +227,7 @@ jobs: nix develop -c zig build -Dapp-runtime=glfw -Drenderer=metal -Dfont-backend=coretext_noshape build-windows: - runs-on: windows-2019 + runs-on: windows-2022 # this will not stop other jobs from running continue-on-error: true needs: test @@ -248,13 +248,13 @@ jobs: $zigVersion = [regex]::Match($fileContent, $pattern).Groups[1].Value Write-Output $version $version = "zig-windows-x86_64-$zigVersion" - $uri = "https://ziglang.org/builds/$version.zip" + $uri = "https://ziglang.org/download/$zigVersion/$version.zip" Invoke-WebRequest -Uri "$uri" -OutFile ".\zig-windows.zip" Expand-Archive -Path ".\zig-windows.zip" -DestinationPath ".\" -Force Remove-Item -Path ".\zig-windows.zip" Rename-Item -Path ".\$version" -NewName ".\zig" Write-Host "Zig installed." - ./zig/zig.exe version + .\zig\zig.exe version - name: Generate build testing script shell: pwsh diff --git a/src/cli/list_fonts.zig b/src/cli/list_fonts.zig index f5210d9bc..397c85064 100644 --- a/src/cli/list_fonts.zig +++ b/src/cli/list_fonts.zig @@ -51,7 +51,7 @@ pub const Config = struct { /// /// The `--bold` and `--italic` arguments can be used to filter results to /// specific styles. It is not guaranteed that only those styles are returned, -/// it will just prioriiize fonts that match those styles. +/// it will just prioritize fonts that match those styles. pub fn run(alloc: Allocator) !u8 { var iter = try std.process.argsWithAllocator(alloc); defer iter.deinit(); diff --git a/src/cli/list_keybinds.zig b/src/cli/list_keybinds.zig index 9e734d1ec..7e0bbd692 100644 --- a/src/cli/list_keybinds.zig +++ b/src/cli/list_keybinds.zig @@ -46,7 +46,7 @@ pub const Options = struct { /// for Ghostty /// /// The `--plain` flag will disable formatting and make the output more -/// friendly fro Unix tooling. This is default when not printing to a tty. +/// friendly for Unix tooling. This is default when not printing to a tty. pub fn run(alloc: Allocator) !u8 { var opts: Options = .{}; defer opts.deinit();