Skip to content

Bump mlugg/setup-zig from 1.2.2 to 2.2.1 - #30

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/github_actions/mlugg/setup-zig-2
Open

Bump mlugg/setup-zig from 1.2.2 to 2.2.1#30
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/github_actions/mlugg/setup-zig-2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 20, 2026

Copy link
Copy Markdown

Bumps mlugg/setup-zig from 1.2.2 to 2.2.1.

Release notes

Sourced from mlugg/setup-zig's releases.

v2.2.1

  • Print which version of Zig was installed
  • Add a little more log output (helps debug cache issues)

[!NOTE] The setup-zig project is now hosted on Codeberg, and this GitHub repository exists as a mirror solely to work around the vendor lock-in mechanisms employed by GitHub Actions. While there are no plans to discontinue GitHub Actions support, I would nonetheless encourage users to consider upgrading to Forgejo Actions on a non-profit forge like Codeberg to avoid being affected by GitHub's profit-driven behavior (such as attempting to charge users by the minute for using their own hardware).

v2.2.0

  • Update dependencies
  • Replace libsodium dependency with node:crypto, improving target support
  • Use hardcoded mirror list when ziglang.org is inaccessible
  • Fix incorrect tarball names when fetching certain versions

[!NOTE] The setup-zig project is now hosted on Codeberg, and this GitHub repository exists as a mirror solely to work around the vendor lock-in mechanisms employed by GitHub Actions. While there are no plans to discontinue GitHub Actions support, I would nonetheless encourage users to consider upgrading to Forgejo Actions on a non-profit forge like Codeberg to avoid being affected by GitHub's profit-driven behavior (such as attempting to charge users by the minute for using their own hardware).

v2.1.0

  • Support Forgejo Actions
  • Support recent Zig versions on ARM
  • Progress towards better OS support
  • Redirect Zig caches to working directory to avoid sharing the cache on self-hosted runners

v2.0.5

  • Fix exception identifying Zig cache directory on recent Zig builds (#49)

v2.0.4

  • Fix canonical ziglang.org download URL
  • Use more descriptive ?source query parameter value

v2.0.3

This release switches from a hardcoded mirrors.json list, to fetching the list of mirrors now available from the Zig website. There are no user-facing changes.

v2.0.2

  • Update dependencies
  • Remove some mirrors experiencing issues
  • Don't use tool cache on GitHub-hosted runners by default (#34)
  • Improve logging, in particular to help debug potential issues

v2.0.1

The recent Zig 0.14.1 release flipped the "arch" and "OS" fields in the tarball name; for instance, zig-x86_64-linux-0.14.1.tar.xz instead of zig-linux-x86_64-0.14.1.tar.xz. This brings the tarball names in line with target triple syntax.

The change does not retroactively apply to old Zig tarballs.

So, this patch has only one fix:

  • Add support for new Zig tarball name format as of Zig 0.14.1 / 0.15.0-dev.631+9a3540d61

[!NOTE]

I do not intend to update v1 to support the new tarball name format.

... (truncated)

Commits
  • d1434d0 Add a bit more logging
  • 449e896 print resolved Zig version
  • e7d1537 Use named capture groups for version string matching
  • 43a69a5 Use cur_dev and min_dev in comparison versionLessThan
  • 7465018 use hardcoded community mirror list when ziglang.org is inaccessible
  • d91b47d tests: fix typo in workflow
  • 7296b2b npm update
  • 1796bca minisign: replace libsodium dependency with node:crypto
  • c09d84c npm: remove direct dependency on unused package
  • fa65c40 github: add separate README
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Jul 20, 2026
@dependabot
dependabot Bot requested a review from abhishek-anand as a code owner July 20, 2026 04:36
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Jul 20, 2026
Bumps [mlugg/setup-zig](https://github.com/mlugg/setup-zig) from 1.2.2 to 2.2.1.
- [Release notes](https://github.com/mlugg/setup-zig/releases)
- [Commits](mlugg/setup-zig@53fc45b...d1434d0)

---
updated-dependencies:
- dependency-name: mlugg/setup-zig
  dependency-version: '2'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title Bump mlugg/setup-zig from 1 to 2 Bump mlugg/setup-zig from 1.2.2 to 2.2.1 Jul 23, 2026
@dependabot
dependabot Bot force-pushed the dependabot/github_actions/mlugg/setup-zig-2 branch from 4cc633a to c0938d8 Compare July 23, 2026 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants