Skip to content

Commit

Permalink
Pin zig version to stable release
Browse files Browse the repository at this point in the history
  • Loading branch information
joachimschmidt557 committed Nov 24, 2023
1 parent 84326af commit 0236038
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ jobs:
submodules: true
- uses: goto-bus-stop/setup-zig@v2
with:
version: master
version: 0.11.0
- name: Build
run: zig build test
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
![CI](https://github.com/ziglibs/zig-string-searching/workflows/CI/badge.svg)

Implementation of some string-search algorithms in
[zig](https://ziglang.org).
[zig](https://ziglang.org). Compatible with zig v0.11.0.

### Boyer-Moore string searching

Expand Down
2 changes: 1 addition & 1 deletion build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pub fn build(b: *Builder) void {
const target = b.standardTargetOptions(.{});
const optimize = b.standardOptimizeOption(.{});

var main_tests = b.addTest(.{
const main_tests = b.addTest(.{
.root_source_file = .{ .path = "src/main.zig" },
.target = target,
.optimize = optimize,
Expand Down

0 comments on commit 0236038

Please sign in to comment.