Skip to content

Commit

Permalink
chore(deps): zig 0.12.0 -> 0.13.0 (#67)
Browse files Browse the repository at this point in the history
Signed-off-by: Rui Chen <rui@chenrui.dev>
Co-authored-by: jiacai2050 <dev@liujiacai.net>
  • Loading branch information
chenrui333 and jiacai2050 committed Jun 7, 2024
1 parent f35091b commit 83911c4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @jiacai2050
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
zig: [0.12.0, master]
zig: [0.13.0, master]
steps:
- uses: actions/checkout@v4
- uses: goto-bus-stop/setup-zig@v2
Expand Down
2 changes: 1 addition & 1 deletion book-src/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

[Zig cookbook](https://github.com/zigcc/zig-cookbook) is a collection of simple Zig programs that demonstrate good practices to accomplish common programming tasks.

> - Main branch tracks Zig 0.12.0 and master, and ensured on Linux and macOS via GitHub actions.
> - Main branch tracks Zig 0.13.0 and master, and ensured on Linux and macOS via GitHub actions.
> - Zig 0.11.0 support can be found in [here](https://github.com/zigcc/zig-cookbook/tree/0.11.0).
# How to use
Expand Down
2 changes: 1 addition & 1 deletion build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ pub fn build(b: *std.Build) !void {
}

fn addExample(b: *std.Build, run_all: *std.Build.Step) !void {
const is_latest_zig = builtin.zig_version.minor > 12;
const is_latest_zig = builtin.zig_version.minor > 13;
const src_dir = try fs.cwd().openDir("src", .{ .iterate = true });

const target = b.standardTargetOptions(.{});
Expand Down

0 comments on commit 83911c4

Please sign in to comment.