Skip to content

Commit

Permalink
setup ci to build every day at midnight
Browse files Browse the repository at this point in the history
  • Loading branch information
ATTron committed Feb 22, 2025
1 parent fef189b commit 5fa980c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
pull_request:
branches: [main]

schedule:
- cron: '0 0 * * *'

workflow_dispatch:

jobs:
Expand Down
2 changes: 1 addition & 1 deletion build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ pub fn build(b: *std.Build) void {

const tests_run = b.addRunArtifact(tests);
tests_step.dependOn(&tests_run.step);
b.default_step.dependOn(tests_step);
// b.default_step.dependOn(tests_step);

// Formatting checks
const fmt_step = b.step("fmt", "Run formatting checks");
Expand Down
4 changes: 2 additions & 2 deletions build.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
.version = "0.1.0",
.dependencies = .{
.zigimg = .{
.url = "git+https://github.com/zigimg/zigimg/?ref=HEAD#d9dbbe22b5f7b5f1f4772169ed93ffeed8e8124d",
.hash = "122013646f7038ecc71ddf8a0d7de346d29a6ec40140af57f838b0a975c69af512b0",
.url = "git+https://github.com/zigimg/zigimg.git#29ff47f9e011065460d1d049cdc18784d733e23b",
.hash = "12201c288e763fb7d7e3207a638498faa439124e231d6f0cbcd4ebc618f706164ea8",
},
},
.minimum_zig_version = "0.13.0",
Expand Down

0 comments on commit 5fa980c

Please sign in to comment.