diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 36663a7..627dc0b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: - uses: actions/checkout@v6 - uses: mlugg/setup-zig@v2 with: - version: 0.15.2 + version: 0.16.0 - run: zig build test build: @@ -25,5 +25,5 @@ jobs: - uses: actions/checkout@v6 - uses: mlugg/setup-zig@v2 with: - version: 0.15.2 + version: 0.16.0 - run: zig build -Dtarget=${{ matrix.target }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 686fd7f..4c2d97a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,12 +22,12 @@ jobs: - target: x86_64-windows artifact: ziglint-x86_64-windows steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Setup Zig uses: mlugg/setup-zig@v2 with: - version: 0.15.2 + version: 0.16.0 - name: Build run: zig build -Doptimize=ReleaseFast -Dtarget=${{ matrix.target }} @@ -54,7 +54,7 @@ jobs: needs: build runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Download all artifacts uses: actions/download-artifact@v4 diff --git a/build.zig.zon b/build.zig.zon index 3896665..41a94a4 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -2,7 +2,7 @@ .name = .ziglint, .version = "0.5.2", .fingerprint = 0x4b7deecc2ff046b7, - .minimum_zig_version = "0.15.2", + .minimum_zig_version = "0.16.0", .paths = .{ "build.zig", "build.zig.zon", diff --git a/flake.lock b/flake.lock index c8006f4..faed4d4 100644 --- a/flake.lock +++ b/flake.lock @@ -18,38 +18,19 @@ "type": "github" } }, - "flake-utils_2": { - "inputs": { - "systems": "systems_2" - }, - "locked": { - "lastModified": 1731533236, - "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", - "owner": "numtide", - "repo": "flake-utils", - "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "flake-utils", - "type": "github" - } - }, "mattware": { "inputs": { - "flake-utils": "flake-utils_2", "nixpkgs": [ "nixpkgs" ], "treefmt-nix": "treefmt-nix" }, "locked": { - "lastModified": 1769379533, - "narHash": "sha256-6td2HWGfSsDBGUuNiSBJWi9g+rlXV/ofFj/3I7Cjf3Y=", + "lastModified": 1779338067, + "narHash": "sha256-GNLYE11onSW2ejYny0REOARb7YnfEvtCvdAYNBSUy+U=", "owner": "mattrobenolt", "repo": "nixpkgs", - "rev": "7929699dfb372f8bfbd93b24460e35089b49eedb", + "rev": "43044093d1939ef08f8f4eba36a4f67ddffdda43", "type": "github" }, "original": { @@ -60,11 +41,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1769461804, - "narHash": "sha256-msG8SU5WsBUfVVa/9RPLaymvi5bI8edTavbIq3vRlhI=", + "lastModified": 1778869304, + "narHash": "sha256-30sZNZoA1cqF5JNO9fVX+wgiQYjB7HJqqJ4ztCDeBZE=", "owner": "nixos", "repo": "nixpkgs", - "rev": "bfc1b8a4574108ceef22f02bafcf6611380c100d", + "rev": "d233902339c02a9c334e7e593de68855ad26c4cb", "type": "github" }, "original": { @@ -96,21 +77,6 @@ "type": "github" } }, - "systems_2": { - "locked": { - "lastModified": 1681028828, - "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", - "owner": "nix-systems", - "repo": "default", - "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", - "type": "github" - }, - "original": { - "owner": "nix-systems", - "repo": "default", - "type": "github" - } - }, "treefmt-nix": { "inputs": { "nixpkgs": [ @@ -119,11 +85,11 @@ ] }, "locked": { - "lastModified": 1768158989, - "narHash": "sha256-67vyT1+xClLldnumAzCTBvU0jLZ1YBcf4vANRWP3+Ak=", + "lastModified": 1775636079, + "narHash": "sha256-pc20NRoMdiar8oPQceQT47UUZMBTiMdUuWrYu2obUP0=", "owner": "numtide", "repo": "treefmt-nix", - "rev": "e96d59dff5c0d7fddb9d113ba108f03c3ef99eca", + "rev": "790751ff7fd3801feeaf96d7dc416a8d581265ba", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 8b74d20..d8b0f60 100644 --- a/flake.nix +++ b/flake.nix @@ -28,9 +28,8 @@ { devShells.default = pkgs.mkShell { packages = with pkgs; [ - zig_0_15 - zls_0_15 - zlint + zig_0_16 + zls_0_16 zigdoc ];