From aeebd4b19f75b7caf77f44f6418c298a4fe7d385 Mon Sep 17 00:00:00 2001 From: Hanaasagi Date: Sat, 13 Jan 2024 11:21:17 +0900 Subject: [PATCH] chore: fix build --- .github/workflows/ci.yaml | 6 +++--- README.md | 2 +- build.zig | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 7f7627d..d998db9 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -16,9 +16,9 @@ jobs: steps: - uses: actions/checkout@v3 - uses: goto-bus-stop/setup-zig@v2 - - uses: Hanaasagi/zig-action-cache@v1.1.1 - with: - cache-on-failure: true + # - uses: Hanaasagi/zig-action-cache@v1.1.1 + # with: + # cache-on-failure: false - run: zig version - run: zig env - run: ls diff --git a/README.md b/README.md index e564676..20d3cea 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ [![codecov](https://codecov.io/gh/Hanaasagi/struct-env/branch/master/graph/badge.svg?token=DQQZETSCW3)](https://codecov.io/gh/Hanaasagi/struct-env) ![](https://img.shields.io/badge/language-zig-%23ec915c) -**NOTE: Minimum Supported Zig Version is 0.12.0-dev.1297+a9e66ed73** +**NOTE: Minimum Supported Zig Version is 0.12.0-dev.2058+04ac028a2** ## What is `struct-env` diff --git a/build.zig b/build.zig index fd86db9..2ab0e74 100644 --- a/build.zig +++ b/build.zig @@ -20,8 +20,8 @@ pub fn build(b: *std.Build) void { _ = dep_opts; _ = b.addModule("struct-env", .{ - .source_file = .{ .path = "src/lib.zig" }, - .dependencies = &.{}, + .root_source_file = .{ .path = "src/lib.zig" }, + .imports = &.{}, }); // const lib = b.addStaticLibrary(.{