diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 8db43c80b..3c2dd78ab 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -4,6 +4,7 @@ on: push: branches: - master + - 0.15.x pull_request: jobs: diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1844d1f98..313616778 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,6 +4,7 @@ on: push: branches: - master + - 0.16.x pull_request: workflow_dispatch: diff --git a/build.zig.zon b/build.zig.zon index 62a86fd56..395fd9f33 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -1,7 +1,7 @@ .{ .name = .zls, // Remove `-dev` when tagging a new ZLS release and add it back on the next development cycle. - .version = "0.16.0", + .version = "0.16.1-dev", // Specifies the minimum Zig version that is required to compile and test ZLS. // Must be a Zig version that is downloadable from https://ziglang.org/download/ or a mirror. // diff --git a/src/features/goto.zig b/src/features/goto.zig index 953aa594f..b01a83a07 100644 --- a/src/features/goto.zig +++ b/src/features/goto.zig @@ -266,7 +266,7 @@ fn gotoDefinitionString( const path = try std.Io.Dir.path.join(arena, &.{ dir, import_str }); std.Io.Dir.accessAbsolute(io, path, .{}) catch |err| switch (err) { error.Canceled => return error.Canceled, - else => {}, + else => continue, }; break :blk .{ .one = try .fromPath(arena, path) }; }