Skip to content

Commit

Permalink
chore: bump deps
Browse files Browse the repository at this point in the history
  • Loading branch information
jiacai2050 committed Feb 6, 2025
1 parent 760525b commit 4712620
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,21 +27,21 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest]
zig: [0.13.0, master]
zig: [0.13.0]
steps:
- uses: actions/checkout@v4
- uses: goto-bus-stop/setup-zig@v2
- uses: mlugg/setup-zig@v1
with:
version: ${{ matrix.zig }}
version: ${{ matrix.zig-version }}
- name: Start services
uses: ikalnytskyi/action-setup-postgres@v6
uses: ikalnytskyi/action-setup-postgres@v7
with:
username: postgres
password: postgres
database: postgres
port: 5432
- name: mysql for ubuntu
uses: mirromutth/mysql-action@v1.1
uses: mirromutth/mysql-action@v1
if: matrix.os == 'ubuntu-latest'
with:
character set server: 'utf8'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
fi
mdbook build
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
uses: actions/upload-pages-artifact@v3
with:
path: ./book

Expand All @@ -52,4 +52,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v3
uses: actions/deploy-pages@v4
3 changes: 2 additions & 1 deletion src/07-04.zig
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
const std = @import("std");
const builtin = @import("builtin");

var n: u8 = 0;

Expand All @@ -8,7 +7,9 @@ fn incr() void {
}

var once_incr = std.once(incr);

fn onceIncr() void {
// The invocations of `call` are thread-safe.
once_incr.call();
once_incr.call();
}
Expand Down

0 comments on commit 4712620

Please sign in to comment.