From 05519e6586d058224649ad8b390abe8f1221171f Mon Sep 17 00:00:00 2001 From: hazeycode <22148308+hazeycode@users.noreply.github.com> Date: Sun, 20 Jul 2025 22:13:22 +0100 Subject: [PATCH 1/2] upgrade setup-zig --- .github/workflows/main.yml | 9 +-------- .zigversion | 1 - 2 files changed, 1 insertion(+), 9 deletions(-) delete mode 100644 .zigversion diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7887c5c..1604929 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -20,15 +20,8 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v3 - - name: Read .zig-version - id: zigversion - uses: juliangruber/read-file-action@v1 - with: - path: ./.zigversion - name: Install Zig - uses: mlugg/setup-zig@v1 - with: - version: ${{ steps.zigversion.outputs.content }} + uses: mlugg/setup-zig@v2 - name: Check format continue-on-error: true run: zig fmt --check . diff --git a/.zigversion b/.zigversion deleted file mode 100644 index a803cc2..0000000 --- a/.zigversion +++ /dev/null @@ -1 +0,0 @@ -0.14.0 From 230b248f33cf25233430cc579ec9398849692146 Mon Sep 17 00:00:00 2001 From: hazeycode <22148308+hazeycode@users.noreply.github.com> Date: Sun, 20 Jul 2025 22:18:26 +0100 Subject: [PATCH 2/2] add minimum_zig_version to build.zig.zon --- build.zig.zon | 1 + 1 file changed, 1 insertion(+) diff --git a/build.zig.zon b/build.zig.zon index 752c47a..0628756 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -2,6 +2,7 @@ .name = .zflecs, .fingerprint = 0xb539547bca77f3d4, .version = "0.2.0-dev", + .minimum_zig_version = "0.14.0", .paths = .{ "build.zig", "build.zig.zon",